# Read history data using custom modules

**URL:** <https://forum.inductiveautomation.com/t/read-history-data-using-custom-modules/28029>\
**Category:** 3rd Party Modules\
**Created:** [September 5, 2019, 9:34am UTC](https://forum.inductiveautomation.com/t/read-history-data-using-custom-modules/28029 "2019-09-05T09:34:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![war\_vortex](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@war\_vortex](https://forum.inductiveautomation.com/u/war_vortex)\
**Post date:** [September 5, 2019, 9:34am UTC](https://forum.inductiveautomation.com/t/read-history-data-using-custom-modules/28029/1 "2019-09-05T09:34:30Z")

</div>

I found the function TagHistoryManager.queryHistory(TagHistoryQueryParams var1,StreamingDatasetWriter var2);  
But I don’t know how to use it  
Can anyone provide some help?  
I will be very grateful.
