Where does logstash store the json file it sends to elasticsearch or does it?

I am sending a json from the REST API to logstash using http_poller and it stores in elasticsearch.
Does logstash stores this json?
I am using docker-compose to run the containers,
Thanks

The events are being buffered in your heap memory assuming that you are using the default queue (which is memory).

If you want to store it on the disk you can use the persisted queue.

More info: https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html

does that mean by default, once its stored in elasticsearch(once logstash outputs), it looses it.

Yes.

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