# Edge Gateway - Export Tag History?

**URL:** <https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [June 25, 2022, 1:55am UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195 "2022-06-25T01:55:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vshn](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@vshn](https://forum.inductiveautomation.com/u/vshn)\
**Post date:** [June 25, 2022, 1:55am UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/1 "2022-06-25T01:55:45Z")

</div>

I’ve got a licensed version of Edge Sync deployed - it was originally meant to sync up data to a central Ignition gateway, but the latter hasn’t been setup yet. In the meantime, is there a way (easy or otherwise) for me to export tag history to a .csv without purchasing an Edge Compute license? Edge Sync doesn’t let me run scripts based on Gateway events. I would ideally like a script to run every 6 hours to export all the polled data - but seem to be hitting a dead end with what I’m trying. (Novice-Intermediate here, sorry!)

---

<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:** [June 25, 2022, 12:20pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/2 "2022-06-25T12:20:11Z")

</div>

So, you are asking how to get around the license restrictions?

☹

---

<div class="post-metadata">

**Author:** ![vshn](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@vshn](https://forum.inductiveautomation.com/u/vshn)\
**Post date:** [June 25, 2022, 7:55pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/3 "2022-06-25T19:55:49Z")

</div>

Ah well, I’ll work on setting up the central gateway then. Thank you!

---

<div class="post-metadata">

**Author:** ![hayden](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@hayden](https://forum.inductiveautomation.com/u/hayden)\
**Post date:** [June 27, 2022, 8:33am UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/4 "2022-06-27T08:33:33Z")

</div>

Other than paying for a license you could try to write a bash script, if on Linux, or similar to export the SQlite database Edge stores data in.

But I would just buy the license, this is very easy to do with the Licensed module

---

<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:** [June 27, 2022, 11:14am UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/5 "2022-06-27T11:14:07Z")

</div>

It is not safe to access the SQLite database externally while Edge (or anything else) has it open.

---

<div class="post-metadata">

**Author:** ![Harikrishna\_Patadiya](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@Harikrishna\_Patadiya](https://forum.inductiveautomation.com/u/Harikrishna_Patadiya)\
**Post date:** [February 14, 2023, 2:54pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/6 "2023-02-14T14:54:34Z")

</div>

Does the "save" function on the EasyChart require the Edge Compute license as well? Seems like the Compute license enables gateway scripts but I wonder if the EasyChart save button utilizes some internal script or if its a built-in function.

---

<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:** [February 14, 2023, 3:19pm UTC](https://forum.inductiveautomation.com/t/edge-gateway-export-tag-history/61195/7 "2023-02-14T15:19:12Z")

</div>

The EasyChart is a Vision Component in a client window. Edge allows Vision Client scripting without the Compute Plugin. That plugin controls gateway scripts.
