Questions about Historical Data

Hello!

So, I have a question about the historical data that is displayed in GRAFANA and in openHistorian web browser trend… what I understood is that these applications get the data directly from the archives being stored, so how long does these archives stay in the storage? For example, I want to be able to see in graphs data from up until one year ago, can I do that?

And, second question, in what directory are they? I didn’t understand where these archives are being saved.

Thank You!
Letícia.

Hello Letícia,

The default configuration for openHistorian includes an historian instance by the name of PPA, which you can see by navigating to “Outputs > Historian Instances” in the openHistorian Manager. The connection string for the PPA adapter determines both the directory to which files are written and the maximum age of the data in the archive. By default, the connection string is empty, and the historian instance will keep all data indefinitely in the C:\Program Files\openHistorian\Archive folder.

Keep in mind that the Historian Instances page is one of our older screens and so it doesn’t display the list of connection string parameters like the custom adapter screens do. To configure the connection string, I recommend that you navigate to “Outputs > Manage Custom Outputs”, click the Add New button, and then select openHistorian 2.0 (Local) from the Type dropdown. You can configure the connection string there, then copy/paste it to the Historian Instances screen.

The relevant connection string parameters are ArchiveDirectories, WorkingDirectory, and MaximumArchiveDays.

Thanks,
Stephen