How to write custom debugging of logstash


(FREDERIC) #1

Hi all,

I should record in the logs of logstash something like :
loading date: .... / file name: ..... / lines insede the file: ..... / record loaded: ......

how can I do it ?

Thank you


(Mark Walkom) #2

Something like https://www.elastic.co/guide/en/logstash/1.5/plugins-filters-metrics.html may help.


(FREDERIC) #3

ok, but how can I bring everything to a file ?
for example , when loading a file , I wish the same time was written on a text file ( .log ) the name of the file loading , the lines of the records and files loaded on ES .
it's possible?


(system) #4