hi all,
Wondering if there is any plan to support non string values as tags in
telegraf kafka_consumers.
My issue is i have the following kafka message in json:
{
"tos": 192,
"as_dst": 1,
"as_src": 1,
"mask_dst": 32,
"local_pref": 0,
"net_dst": "10.1.1.2",
"as_path": "",
"peer_ip_dst": "",
"peer_as_src": 0,
"mask_src": 32,
"net_src": "10.1.1.1",
"peer_as_dst": 0,
"peer_ip_src": "10.255.255.3",
"iface_in": 526,
"packets": 4,
"bytes": 306
}
and need to set tags for non string values ( example: "as_src": 1,
"peer_as_src": 0 ) .
Looking at :
https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
, strings are ignored unless specified as a tag_key . Any reason integers
cannot be used as tags.
Regards,
Catalin
--
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/740aed0a-096e-4cef-b2a8-9a172bcd8e48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.