Logstash sending slowlog to emails?

Hi,

Slowlog:

    [2016-03-23 06:43:47,231][DEBUG][index.search.slowlog.fetch] took[5.8ms], took_millis[5], types[talk], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[{"query":{"match":{"tags":"Java"}}}], extra_source[],
    [2016-03-23 06:43:47,231][DEBUG][index.search.slowlog.fetch] took[10.8ms], took_millis[5], types[talk], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[{"query":{"match":{"tags":"Java"}}}], extra_source[],
    [2016-03-23 06:43:47,231][DEBUG][index.search.slowlog.fetch] took[95.8ms], took_millis[5], types[talk], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[{"query":{"match":{"tags":"Java"}}}], extra_source[],

I need to send the above slowlogs that are having took[>50ms] to my gmail is it possible using logstash?

These logs are present in different servers in different locations and i want to catch them all before doing the above took operation ? Is it possible?

Thanks

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