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 | 5045 | July 26, 2018 | |
| Telegraf inputs.http plugin: JSON array (with json_query) | 1 | 1801 | December 17, 2018 | |
| How does the Json parser works in telegraf | 2 | 1329 | March 22, 2019 | |
| Telegraph configuring - json parsing question | 4 | 1444 | June 1, 2019 | |
| Parsing JSON formatted log files using Telegraf | 4 | 5126 | September 6, 2017 |