> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elementary-data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# update_timestamp_column

<Card title="Generate your anomaly test with Elementary AI" icon="wand-magic-sparkles" horizontal="true" href="https://elementary-data.com/community">
  Let our Slack chatbot create the anomaly test you need.
</Card>

`update_timestamp_column: [column name]`

Configuration for the test `event_freshness_anomalies`.
This test compliments the freshness\_anomalies test and is primarily intended for data that is updated in a continuous / streaming fashion.

The test can work in a couple of modes:

* If only an event\_timestamp\_column is supplied, the test measures over time the difference between the current timestamp (“now”) and the most recent event timestamp.

* If both an event\_timestamp\_column and an update\_timestamp\_column are provided, the test will measure over time the difference between these two columns.

* *Default: None*

* *Relevant tests: `event_freshness_anomalies`*

* *Configuration level: test*

<RequestExample>
  ```yml test theme={null}
  models:
    - name: this_is_a_model
      data_tests:
        - elementary.event_timestamp_column:
            arguments:
              event_timestamp_column: "event_timestamp"
              update_timestamp_column: "created_at"
  ```
</RequestExample>
