How to View Historical Data in Grafana - NatLabRockies/alfalfa GitHub Wiki
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
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
From there select the search button in the top left
Then select the Simple Dashboard
Configuring the Simple Dashboard
The dashboard you see should look something like this
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.
Success!
At this point you should see some timeseries data coming from your site.