Logstash information on csv loaded


(FREDERIC) #1

hi,
How can I config Logstash filter to know:

  1. how many records in a csv have been uploaded
  2. how many records in a csv have been updated
  3. how many records in a csv have NOT been uploaded

thank you


(Mark Walkom) #2

You could do 1 with https://www.elastic.co/guide/en/logstash/current/plugins-filters-metrics.html

But I cannot see how you can do 2 and 3, it has no concept of things being changed as it treats them as a stream.


(FREDERIC) #3

OK, i use a metrics it is working correctly, but how can I add that value as a metadata of elasticsearch ?


(system) #4