Store incoming data before dealing with it?


#1

Hey there,

I'm getting data to Logstash from tcp and udp but I want to store these data into a file before Logstash process it. Is this possible?


(Christian Dahlqvist) #2

The new persistent queue functionality allows data to be stored on disk while it is processed. This allows Logstash to buffer if there are issues with output destinations. Does this match what you are looking for or is there a different reason behind your question?


#3

It kind of answer the question. I'm getting logs from pfSense through tcp/udp to Logstash but I want to store these logs because I need to do some other operation on them that is totally irrelevant to Logstash.


(Christian Dahlqvist) #4

Logstash has a file output plugin that does allow you to write data to file.


#5

I tried it and it writes out the data that has been processed by Logstash (there is already all Logstash's filters).


(system) #6

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