User Tools

Site Tools


user:jan001:nig_first_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:jan001:nig_first_steps [2020/06/29 11:00] jan001user:jan001:nig_first_steps [2021/08/24 17:35] (current) – external edit 127.0.0.1
Line 71: Line 71:
     - Now we only need a node that sends the value to the influxdb. Drag and drop the "influxdb out"-Node into your flow. Choose your influxdb-server and name the measurement also testing. Under this name, you will later find it inside of the database. Click on Done and connect the two nodes with each other. This is your first flow.     - Now we only need a node that sends the value to the influxdb. Drag and drop the "influxdb out"-Node into your flow. Choose your influxdb-server and name the measurement also testing. Under this name, you will later find it inside of the database. Click on Done and connect the two nodes with each other. This is your first flow.
     - The last click on deploy in the top right corner and the node-red server is already injecting something into your database.     - The last click on deploy in the top right corner and the node-red server is already injecting something into your database.
 +  - Grafana-Part:
 +    - Open up your grafana
 +    - Create a new dashboard by hovering over the "plus"-icon on the left side of the screen and click "Dashboard"
 +    -  Click "Add new panel". Panels are generally graphs you want to display in one dashboard. One dashboard consists of many panels.
 +    - What you will see now can be a bit overwhelming at first but we will just do a little dip into it right now. To display data in our graph we have to query it from our influxdb. We will just need one query for this sample project. 
 +    - We just need to change one thing right now. Under query, you will find a row named "FROM". We want to show the measurement from our database from the table named testing. So click on "select measurement". There should be a drop-down where you can select from all currently existing measurements. Choose "testing".
 +    - On the right side of the screen, you can change the panel title if you want. Otherwise, click on Apply in the top right corner.
 +    - You now need to save the dashboard you just created. In the top right corner, you will fond a save icon. Give it some appropriate name and click "Save".
 +  - You just finished the sample! You can now see the dashboard on the grafana home screen. You can click the name to display it.
  
  
  
  
user/jan001/nig_first_steps.1593421251.txt.gz · Last modified: 2021/08/24 17:34 (external edit)