Company
Date Published
Author
Anais Dotis-Georgiou
Word count
1642
Language
English
Hacker News points
None

Summary

In this article, Anais Dotis-Georgiou explains how to use Flux to bring in data from various sources, including SQL databases and JSON objects. She provides four examples of using Flux with increasingly complex JSON types, including extracting top-level values, mapping across arrays, handling nested arrays, and evaluating whether values exist or not. The article also covers an example using the OpenWeatherMap API to gather weather data and write it to InfluxDB. With these examples, users can learn how to use Flux to manipulate JSON objects and create tables for ingestion into InfluxDB.