Thx! On Thursday, September 29, 2016 at 5:51:03 AM UTC-5, [email protected] wrote: > > On Thursday, September 29, 2016 at 1:46:44 AM UTC+3, [email protected] > wrote: > > Hi. I see that we can configure templates to parse out the desired tags > and values in the Graphite section. We are using Graphios to forward > nagios performance data to Influxdb using the HTTP section. Graphios is > using the line protocol. The data is successfully added to the named > database and measurements are created using the service description from > the Nagios service check. As it stands today, we haven't figured out how > to control the tags. The next test is to load the _graphiteprefix variable > in Nagios with the desired tags and use regex queries to separate the > information. This seems to be a clear anti-pattern ...//smile. > > > > > > Will Influxdb use templates if they are defined in the HTTP section? If > we send the Graphios line protocol formatted data to the Graphite port, > 2003 will Influxdb then use the templates as though the data came from > Graphite? > > > > > > Thanks! > > Alan > > Hi Alan, > > Templates will not be matched in the HTTP section as it assumes metrics > are already in the desired format in Influx line protocol. As you already > described, you can submit metrics to InfluxDB using the graphite input > (which listens for raw tcp, not http) and apply templates to parse metrics. > > Another method, which will offload parsing and pattern matching from the > database, is using an intermediate Telegraf agent which supports a number > of measurement filtering options: > https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#measurement-filtering > > . This way you will be able to not only match tags using templates, but > also pick or drop metrics based on their tag and field content. > >
-- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/46a5b211-d2b1-4104-8ff5-2052b3c66d8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
