Closed toni-moreno closed 8 years ago
We will be doing a generic solution for this for all plugins, not just the logparser. See #1419. You may also be able to do some of this already using the pass/drop filters?
There is any planned date to release a beta for this generic solution ? I would like to help you test it.
Not at the moment, but you can subscribe to https://github.com/influxdata/telegraf/issues/380 and get notified about any progress or status changes.
Directions
On big infraestructures we would like to store and process only needed data. Suppose a cluster of apache servers , with big load and we need only the number of hits/interval and response time processed from their access log.
Suppose our servers are proccessing up than 3millons of hits/hour ( on 10 servers) and only need 3 metrics ( hits and average,max,p90 response time)
So we would only store 3x10x60 = 180 metrics / hour instead of 3 millions of inserts with a lot of unneeded data.
We can just do this with collectd +Tail Plugin
https://collectd.org/wiki/index.php/Plugin:Tail
or collectd + apachelog plugin.
https://github.com/toni-moreno/collectd-apachelog-plugin
We can use telegraf and logparser as the base for this work, this could be interesting to get log processing also over windows systems.
Feature Request
We would like to have a config option for each file with switch behaviour from "all events sent" to "only summarized send", and also the kind of summarization , how to group data and what to send.
Proposal:
configuration could be something like that.
Desired behavior:
with this config we will get data : measurement [fields] tags, as follows
What do you think about?