How Statsd output plugin work

I have logfile that need to count number of this string on it "connection failed"

now question is log file created last day and continuously new log add to it.

which of these Statsd output configuration options "count,increment,sample_rate" work like that?

FYI: need to count "connection failed" that already exist and new one!

Any idea?

It's not clear what you are asking here, as Elasticsearch doesn't have a statsd output. Do you mean Logstash?

@warkolm did i mention Elastic? I’m taking about logstash.
Do you have any idea?

You posted this in the Elasticsearch category hence my confusion. I will move it.

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