# Fixed date-time for all record

**URL:** https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808
**Category:** Logstash
**Created:** [March 9, 2020, 9:25pm UTC](https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808 "2020-03-09T21:25:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)
#### Post date: [March 9, 2020, 9:25pm UTC](https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808/1 "2020-03-09T21:25:58Z")

</div>

I want to start ingesting record at lets say 10:05 and keep same timestamp to all the record.

i.e first record come in at 2020-03-08T10:05 and last record at 2020-03-08T10:10 but I want same time for all record.  
it can be different field or replace @timestamp either is fine

how do I do this?  
is there filter that define date like start time of logstash pipeline execute?

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 9, 2020, 9:41pm UTC](https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808/2 "2020-03-09T21:41:14Z")

</div>

See [this](https://discuss.elastic.co/t/help-with-processing-metadata-at-start-of-file/220740/2) post.

---

<div class="post-metadata">

### Author: ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)
#### Post date: [March 10, 2020, 3:30pm UTC](https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808/3 "2020-03-10T15:30:30Z")

</div>

Badger  
I read it I didn't understand it properly.  
or I didn't explain properly on what I am after.

basically I am running jdbc to pull data from database  
there are lets say 1000 record come in. there is no date field that I am pulling. hence @timestamp is automatically added there.  
but it is different from 1st record to 1000th record. I was same date-time field there.

lets say I define one date-time and assign that for all 1000 record.  
is that possible?

---

<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: [April 7, 2020, 3:30pm UTC](https://discuss.elastic.co/t/fixed-date-time-for-all-record/222808/4 "2020-04-07T15:30:35Z")

</div>

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