Closed
Description
- Version of collectd:5.7.1
- Operating system / distribution:Linux version 4.4.8-20.46.amzn1.x86_64
I am the one who posted issue #2447 .
I'm searching collectd plugin for getting error count in logfiles within interval period.
In case of logfile like following:
[INFO ][Tue Sep 26 18:32:57 JST 2017] information
[ERROR][Tue Sep 26 18:33:40 JST 2017] error occurred
[INFO ][Tue Sep 26 18:34:12 JST 2017] information
[INFO ][Tue Sep 26 18:34:20 JST 2017] information
I want to get result like following and send data to aws cloudwatch:
check-timing, count of matched [ERROR]
Tue Sep 26 18:33:00 JST 2017,0
Tue Sep 26 18:34:00 JST 2017,1
Tue Sep 26 18:35:00 JST 2017,0
It seemed that it could not be realized with the tail plugin.
It may be out of place, but if there is who knows realizable plugin for collectd,
Could you tell me please ?