/plushcap/analysis/influxdata/how-to-parse-json-with-telegraf-into-influxdb-cloud

How to Parse JSON with Telegraf into InfluxDB Cloud

What's this blog post about?

The article discusses how to parse JSON data with Telegraf into InfluxDB Cloud. It introduces the new JSON v2 parser in Telegraf 1.19, which offers improvements over the original JSON parser (json_v1). Key enhancements include independent GJSON queries, more verbose but clearer configuration, more control over field types, and control over resulting tag/field names. The article provides a detailed guide on how to configure Telegraf to ingest JSON data using the new parser, including setting up measurements, tags, fields, and objects. It also includes examples of migrating configurations from json_v1 to v2 and additional use cases for the new JSON parser.

Company
InfluxData

Date published
Nov. 2, 2021

Author(s)
Samantha Wang

Word count
3076

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.