# Historized Alarm data gets deleted automatically

**URL:** <https://forum.inductiveautomation.com/t/historized-alarm-data-gets-deleted-automatically/31168>\
**Category:** General Discussion\
**Created:** [January 9, 2020, 5:18am UTC](https://forum.inductiveautomation.com/t/historized-alarm-data-gets-deleted-automatically/31168 "2020-01-09T05:18:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwin.m](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ashwin.m](https://forum.inductiveautomation.com/u/ashwin.m)\
**Post date:** [January 9, 2020, 5:18am UTC](https://forum.inductiveautomation.com/t/historized-alarm-data-gets-deleted-automatically/31168/1 "2020-01-09T05:18:19Z")

</div>

I have configured an alarm to a tag and there’s a table in the database called alarm\_events in the database. I use this table for some calculations. I find that the data older than a week gets deleted automatically from this table

Is that the default function of ignition or i need to configure any setting?

---

<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:** [January 9, 2020, 12:52pm UTC](https://forum.inductiveautomation.com/t/historized-alarm-data-gets-deleted-automatically/31168/2 "2020-01-09T12:52:52Z")

</div>

Look at the “Data Pruning” section of your Alarm Journal configuration.

---

<div class="post-metadata">

**Author:** ![ashwin.m](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@ashwin.m](https://forum.inductiveautomation.com/u/ashwin.m)\
**Post date:** [January 13, 2020, 7:35am UTC](https://forum.inductiveautomation.com/t/historized-alarm-data-gets-deleted-automatically/31168/3 "2020-01-13T07:35:30Z")

</div>

Thanks for the help. It is working fine now
