Logstash 8.6 add a field "log.file.path"

Hi there
I use .conf file to ingest data in my index. With the version 8.6 is added the field "log.file.path."
I tried with
mutate { remove_field => [ "message", "@version","host","log.file.path" ] } without suceed.
Any help to remove this field?
Thanks in advance.

Nested fields in Logstash are referenced using square brackets.

Replace log.file.path with [log][file][path] and it should work.

1 Like

Thanks @leandrojmp . You are "awsom"

Just to add, you can also remove a root of nested field - "log", that will remove all nested fields.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.