LogoLogo
Home
  • 🏠Home
  • 💻Dashboard Setup Guide
  • ⚙️Installation of Tools
    • Grafana®
    • InfluxDB®
    • Influx Tools
  • ⚙️Setup
    • Configuring InfluxDB
    • Configuring Dashboard Writer
    • Configuring Data Source in Grafana
  • 📝Writing Data
    • Writing Data Into the Database
  • 💻Setting Up Dashboard
    • Creating Dashboard in Grafana
Powered by GitBook

© Influx Technology LTD

On this page

Was this helpful?

Export as PDF
  1. Setting Up Dashboard

Creating Dashboard in Grafana

Follow the steps mentioned in this page to write data into InfluxDB database.

PreviousWriting Data Into the Database

Last updated 1 year ago

Was this helpful?

This section will teach you how to create a New Dashboard in Grafana and Query data from the InfluxDB Database.

Creating your first dashboard:

  • Open your web browser and go to

  • Sign in with your credentials.

  • Click the New Dashboard item under the Dashboards icon in the side menu.

  • On the dashboard, click Add an empty panel.

  • Go to the Query tab in the New Dashboard/Edit panel view.

  • Select your Data Source in the Query options.

  • Use the following Flux Query to query the data from the InfluxDB Database (Bucket)

from(bucket: v.defaultBucket)
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> aggregateWindow(every: v.windowPeriod, fn: mean)
  |> filter(fn: (r) => r["_measurement"] == "")
  |> filter(fn: (r) => r["signal"] == "")
  |> yield(name: "mean")
  • Select the Time Range for which the data has to be viewed.

You will be able to view the data in the Graphical View.

Repeat the process by adding new Panels and Editing the CAN Signal Name.

💻
http://localhost:3000/