# Determining Realtime/Historical Provider /drv names

**URL:** <https://forum.inductiveautomation.com/t/determining-realtime-historical-provider-drv-names/95910>\
**Category:** General Discussion\
**Tags:** perspective, ignition81, database, scripting\
**Created:** [September 12, 2024, 5:26pm UTC](https://forum.inductiveautomation.com/t/determining-realtime-historical-provider-drv-names/95910 "2024-09-12T17:26:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 12, 2024, 6:05pm UTC](https://forum.inductiveautomation.com/t/determining-realtime-historical-provider-drv-names/95910/3 "2024-09-12T18:05:43Z")

</div>

Perhaps looking at my code in my Tag Report Utility's `history` script will help:

> [@Tag Report Utility](https://forum.inductiveautomation.com/t/tag-report-utility/95299):
>
> New resource just uploaded to the Exchange (pending review). Also available here: [https://www.automation-pros.com/TagReportUtility/](https://www.automation-pros.com/TagReportUtility/) I intend to publish at this link as well as in the Exchange going forward. Announcements will be in this topic. (: Highlights: Provides a Perspective Popup View that provides a user interface to system.tag.query() that entirely replicates the functionality of the Designer's Tag Report Tool. Provides a Perspective Embedded View that provides Time Span selectio…

A normal qualified path for history takes this form:

```python
histprov:HistoryProviderName:/drv:sourceGWName:sourceTagProvider:/tag:path/to/tag

```

You might look at this topic, too, and the `providers` script in that exchange resource:

> [@Remote Tag Provider History Queries](https://forum.inductiveautomation.com/t/remote-tag-provider-history-queries/93632):
>
> I'm working on a couple tasks related to historians and history queries, and have encountered some behaviors of remote tag providers (RTPs) that have me stymied: There's no public way to retrieve the gateway name that a RTP is pointing at, nor any public way to retrieve the far end's real tag provider name. (Reflection has exposed com.inductiveautomation.ignition.gateway.tags.distributed.client.RemoteTagProvider and com.inductiveautomation.metro.api.ServerId to me, and a number of private fie…

---

_[View the full topic](https://forum.inductiveautomation.com/t/determining-realtime-historical-provider-drv-names/95910)._
