Query in Data Explorer
Move seamlessly between using the Flux builder or templates and manually editing the query. Choose between visualization types for your query.
Flux is a functional data scripting language designed for querying, analyzing, and acting on time series data. See to learn more about Flux.
In the navigation menu on the left, click Data Explorer.
Data Explorer
Use the Flux builder in the bottom panel to create a Flux query:
- Select a bucket to define your data source or select to add a new bucket.
- Edit your time range with the time range option in the dropdown menu.
- Add filters to narrow your data by selecting attributes or columns in the dropdown menu.
- Select Group from the Filter dropdown menu to group data into tables. For more about how grouping data in Flux works, see .
Use the Functions list to review the available Flux functions. Click a function from the list to add it to your query.
Click Submit (or press ) to run your query. You can then preview your graph in the above pane. To cancel your query while it’s running, click Cancel.
Select an available visualization types from the dropdown menu in the upper-left:
To open the cell editor overlay, click the gear icon in the upper right of a cell and select Configure. The cell editor overlay opens.
Click the CSV icon to save the cells contents as a CSV file.
Click the refresh button () to manually refresh the dashboard’s data.
Select from the time range options in the dropdown menu.
- Select Custom Time Range to enter a custom time range with precision up to nanoseconds. The default time range is 5m.
Keyboard shortcuts
In Script Editor mode, the following keyboard shortcuts are available:
- Click Save as in the upper right, and then:
- To add your query to a dashboard, click Dashboard Cell.
- To save your query as a task, click Task.
- To save your query as a variable, click Variable.