File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 10
10
# By default it will place the parsed JSON in the root (top level) of the Logstash event, but this
11
11
# filter can be configured to place the JSON into any arbitrary event field, using the
12
12
# `target` configuration.
13
+ #
14
+ # This plugin has a few fallback scenario when something bad happen during the parsing of the event.
15
+ # If the JSON parsing fails on the data, the event will be untouched and it will be tagged with a
16
+ # `_jsonparsefailure` then you can use conditionals to clean the data. You can configured this tag with then
17
+ # `tag_on_failure` option.
18
+ #
19
+ # If the parsed data contains a `@timestamp` field, we will try to use it for the event's `@timestamp`, if the
20
+ # parsing fails, the field will be renamed to `_@timestamp` and the event will be tagged with a
21
+ # `_timestampparsefailure`.
13
22
class LogStash ::Filters ::Json < LogStash ::Filters ::Base
14
23
15
24
config_name "json"
You can’t perform that action at this time.
0 commit comments