docs-v2/content/v2.0/visualize-data/explore-metrics.md

2.2 KiB

title description menu
Explore metrics with InfluxDB Explore and visualize your data in InfluxDB's Data Explorer. The InfluxDB user interface (UI) allows you to move seamlessly between using the Flux builder and manually editing the query.
v2_0
name parent weight
Explore metrics Visualize data 1

Explore and visualize your data in the Data Explorer. The InfluxDB user interface (UI) allows you to move seamlessly between using the Flux builder or templates and manually editing the query. Choose between visualization types for your query.

To open the Data Explorer, click the Data Explorer icon in the navigation bar:

{{< img-hd src="/img/data-explorer-icon.png" title="Data Explorer icon" />}}

Explore data with Flux

Flux is InfluxData's functional data scripting language designed for querying, analyzing, and acting on time series data. See Get started with Flux to learn more about Flux.

  1. Click the Data Explorer icon in the sidebar.
  2. Use the Flux builder in the bottom panel to select a bucket and filters such as measurement, field or tag. Alternatively, click Script Editor to manually edit the query. To switch back to the query builder, click Query Builder.
  3. Use the Functions list to review the available Flux functions. Click on a function from the list to add it to your query.
  4. Click Submit to run your query. You can then preview your graph in the above pane.
  5. To work on multiple queries at once, click the + to add another tab.

Visualize your query

To visualize your query:

  1. Select a visualization type from the dropdown menu in the upper-left.

    {{< img-hd src="/img/visualization-dropdown.png" title="Visualization dropdown" />}}

  2. Select the Visualization tab at the bottom of the Data Explorer. For details about all of the available visualization options, see Visualization types.

Save your query as a dashboard cell or task

To save your query:

  1. Click Save as in the upper right.
  2. Click Dashboard Cell to add your query to a dashboard.
  3. Click Task to save your query as a task.