Is it possible to write collected data (using logstash in a database) becuase all the collected data is removed after stopping logstash

i am using logstash to collect data from syslogs and social network (using "logstash -f" command) but i see that when i shutdown logstash all the data is deleted, how i can persist data so that i can it can be retrieved even if the connection is lost or logstash is stoped
i was using this tutorial ( but when i stop logstash all the collected data disapear the only thing that remain is tthe index name

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