Skip to content

How to View Historical Data in Grafana

Maggie Sullivan edited this page Jun 27, 2023 · 1 revision

This tutorial provides instruction on how to view historical data for a site in grafana. To follow this tutorial you must have grafana and influxdb deployed with Alfalfa as well as the historian enabled. You can find relevant instructions here.

Navigating to and Logging in

In a local deployment the grafana dashboard can be found at http://localhost:3000, in a cloud deployment you should ask the maintainer of the deployment for a link to the grafana dashboard.

Upon navigating to the page you will be presented with the following prompt Screenshot 2023-06-26 at 15 11 33

Here you will enter the username and password which is configured for your instance. By default these are admin and password for the username and password respectively.

Opening the Simple Dashboard

Upon logging in you will be presented with this page Screenshot 2023-06-26 at 15 09 36

From there select the search button in the top left Screenshot 2023-06-26 at 15 09 49

Then select the Simple Dashboard

Configuring the Simple Dashboard

The dashboard you see should look something like this Screenshot 2023-06-26 at 15 10 01 From the selector in the top left next to Site ID select the id of the site you'd like to view the data for. If you see no ids either you have not run any sites on the accompanying instance or you have not configured the historian correctly.

Selecting the Time Range

After selecting your site it is likely that you will still not see anything on the graph. This is because datapoints are plotted according to the time in the site. So if your site starts in the year 2020 you will need to select that time range. You do this by selecting the drop down in the top right and selecting the correct time period for your site. Screenshot 2023-06-26 at 15 10 32

Success!

At this point you should see some timeseries data coming from your site.

Screenshot 2023-06-26 at 15 10 45


Model Configuration

Openstudio

Tutorials

Guides

Reference

Modelica

Guides

Alfalfa Interaction

Tutorials

Guides

Reference

Explanation

Alfalfa Development

Guides

General

Reference

Explanation

Clone this wiki locally