How to not log extra metadata from Logstash to Elasticsearch

Hello, currently I have a working example of an ELK stack, however, in my indices I do not want to log the following fields :

path

Ideally, in Elasticsearch, I only want to see "message" and "@timestamp", the other 4 is seemingly generated on Logstash's end, may I know if there is a way to NOT send those pieces into elasticsearch?

I do not believe there is a way to remove those meta fields.

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