Integrations & Setup
Grafana
Configuring the Factry Historian Datasource plugin for Grafana
in this guide, we will complete the installation and configuration of the factry historian datasource plugin for grafana prerequisites an installed and properly configured factry historian, see installing factry historian a running instance of grafana of at least v10 4 0 admin rights in grafana a user with read privileges in factry historian step by step guide 1\ create a read only user in factry historian if you already have a user group with read privileges (such as the default reader group), and a user assigned to the group, you can skip this step if not, please complete this step first for a secure setup we first create a user group with read privileges enabled and add a grafana user to this group from which to generate the api token create a user group in the according historian organization go to factry historian go to configuration > groups click on create user group and give the user group a name f e "factry historian readers" click on the edit button to edit the privileges assign the following privileges read assets read collectors read event configurations read events read external databases read manual entry forms read measurements read sinks read task schedulers read timeseries databases create a user and add it to the newly created group go to configuration > users click on add new user button, fill in the fields (username, password, email, etc ) in the user groups field, search for the reader group you created before select it and click the ' + ' icon the user group should show up in the table below 2\ install the factry historian datasource in grafana if you will be using this datasource for the first time, you should install it first open grafana in your browser log in with your grafana admin credentials in grafana, go to connections > add new connection search for factry and select the factry historian datasource on the top right, click install 3\ configure the datasource once the plugin is installed, and while still in the factry historian datasource connection page, click 'add new datasource' alternatively, navigate to connections > data sources and click add data source select factry historian datasource fill in the required fields name choose a recognizable name, e g 'factry historian' or 'usa site' in case of multi organizations docid\ ie9bm zmn69tumtdfngbk setup url http //url of my historian company\ port (typically port 8000) token follow the guide obtaining an api token paste the token in the token field in grafana organization go to the historian web app configuration > organizations select the default organization (unless you defined another name during the onboarding wizard), and copy the uuid using the double file icon on the far right paste the organization uuid in the organization field in grafana select measurements as the default tab 4\ save & test click save & test grafana should confirm a successful connection what's next now that you have successfully installed the factry historian datasource plugin, you can start using it trending with the factry historian datasource plugin for grafana docid\ vix9kjnh6elxhrikrp7sr viewing event data