Hello, i’ve just started to play with the TICK stack. I’m interested in storing values coming from several JSON strings. There are 3 types of different incoming JSON, and each of them need a different procedure to extract the data i need. I was thinking to use a Telegraf script using regex, with 3 different if statements. I read the docs about regex processor (https://github.com/influxdata/telegraf/tree/master/plugins/processors/regex), but i’m not sure if it’s possible to do that. Basically i’m looking for a method to match the JSON with the regex, with a true/false output. Do you think it’s possible?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Telegraf parsing with regex | 3 | 5037 | July 26, 2018 | |
Parsing Telegraf output json as input json | 7 | 1603 | May 6, 2025 | |
Telegraf Input File Plugin does not support grok and json both logs parsing in single logs | 2 | 267 | October 18, 2023 | |
Telegraf inputs.http plugin: JSON array (with json_query) | 1 | 1795 | December 17, 2018 | |
How does the Json parser works in telegraf | 2 | 1328 | March 22, 2019 |