# Setting the default timestamp to a specific date

**URL:** <https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732>\
**Category:** Elasticsearch\
**Created:** [February 21, 2022, 8:47am UTC](https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732 "2022-02-21T08:47:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dendrin](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@dendrin](https://discuss.elastic.co/u/dendrin)\
**Post date:** [February 21, 2022, 8:47am UTC](https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732/1 "2022-02-21T08:47:48Z")

</div>

Hi there, does anyone know how to change the default timestamp to a specific date? Currently, the timestamp field is populated with the current time in which the script is ran. I want to change that timestamp to always display a specific date, like May 23, 1990. Is that possible? Thanks!

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 21, 2022, 10:28am UTC](https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732/2 "2022-02-21T10:28:50Z")

</div>

Hello,

It could be implemented with set processor of ingest pipeline.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 21, 2022, 10:32am UTC](https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732/3 "2022-02-21T10:32:05Z")

</div>

> [@dendrin](#):
>
> in which the script is ran

Which script? What do you mean? I'm a bit lost in context here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 21, 2022, 10:32am UTC](https://discuss.elastic.co/t/setting-the-default-timestamp-to-a-specific-date/297732/4 "2022-03-21T10:32:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
