# Historian not logging initial value

**URL:** <https://forum.inductiveautomation.com/t/historian-not-logging-initial-value/15207>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [August 30, 2017, 6:52pm UTC](https://forum.inductiveautomation.com/t/historian-not-logging-initial-value/15207 "2017-08-30T18:52:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enault](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@enault](https://forum.inductiveautomation.com/u/enault)\
**Post date:** [August 30, 2017, 6:52pm UTC](https://forum.inductiveautomation.com/t/historian-not-logging-initial-value/15207/1 "2017-08-30T18:52:25Z")

</div>

I started logging history of a bunch of tag. I notice that the table sqlth\_te doesn’t contain all of my tag. they seem to be added to the table only once they changed.

Is this the way it should work?  
I feel like it should be logging at least an initial value once you enable the history.

When i try to show these value on an easy chart it seems like the history wasn’t start until the tag changed it make weird graph.

Is there a way to force it to log an initial value as soon as you enable history on a tag?

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [September 1, 2017, 11:15am UTC](https://forum.inductiveautomation.com/t/historian-not-logging-initial-value/15207/2 "2017-09-01T11:15:36Z")

</div>

By default the tag historian only records values when they change so the behaviour you’re seeing is normal.

The “Max Time Between Records” option allows you to change how many times the scan class is executed before it’ll write the value to the database, even if the value has not changed - be careful though as that could lead to a pretty hefty database size. You could use this to get what you want? It’s probably not the most elegant solution though.
