Hi,
When I use the following code to remove the message field,
filter {
....
if "_grokparsefailure" not in [tags] {
mutate {
remove_field => [ "message" ]
}
}
....
}
the log content output to s3 becomes the following content:
2019-07-26T02:38:56.000Z {name=f2b7eda7958a} %{message}
From this I guess the s3 plugin will only get and output the message field.
Is there any way to make:
- The content output to elasticsearch does not contain the message field;
- The content output to s3 contains only the message field
logstash version: 6.6.0
Thanks!