# Read Device Connection "Details" statistics (request count, throughput, response times) from a gateway script?

**URL:** <https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940>\
**Category:** Ignition\
**Tags:** perspective, ignition83\
**Created:** [November 23, 2026, 4:47pm UTC](https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940 "2026-11-23T16:47:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpellicelli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gpellicelli/32/53466_2.png) [@gpellicelli](https://forum.inductiveautomation.com/u/gpellicelli)\
**Post date:** [November 23, 2026, 4:47pm UTC](https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940/1 "2026-11-23T16:47:43Z")

</div>

Hi all,

The Device Connections \> Connections \> [device] \> Details page shows diagnostics such as Request Count, Throughput, Mean Response Time, Monitored Item Count and Overload for any device type.

Is there a script function or system tag path that exposes these values, so we can write them to tags and display them in a Perspective project? Plant floor users don't have Gateway access.

Any pointers are appreciated.

Thanks

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/5/b5d684a4f2e4e9d6961820b0f1e7ba7d48c760c6.png)

---

<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:** [November 23, 2026, 4:54pm UTC](https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940/2 "2026-11-23T16:54:10Z")

</div>

Most drivers will expose much of that information (generally not including the histograms) in diagnostic OPC items. Usually in a folder per sampling rate, and plus a folder for the aggregates. You may use scripted OPC browse to enumerate them.

---

<div class="post-metadata">

**Author:** ![gpellicelli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gpellicelli/32/53466_2.png) [@gpellicelli](https://forum.inductiveautomation.com/u/gpellicelli)\
**Post date:** [November 23, 2026, 5:02pm UTC](https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940/3 "2026-11-23T17:02:06Z")

</div>

Hi,

Thanks, that was very helpful. I can see the Diagnostics folder under each device when browsing the OPC tags, so I'll create a diagnostic UDT to easily expose and monitor those values.

Thanks again for pointing me in the right direction! 👍

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/1/11194341895ba644c149e42d30c007e763d775c9.png)

---

<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:** [November 23, 2026, 5:33pm UTC](https://forum.inductiveautomation.com/t/read-device-connection-details-statistics-request-count-throughput-response-times-from-a-gateway-script/117940/4 "2026-11-23T17:33:12Z")

</div>

If you temporarily point my Generic EtherNet/IP driver at a Logix processor, the driver will produce JSON for the UDTs in the target, as well as UDTs for the diagnostics items. The resulting UDTs are generally compatible with the native Logix driver.
