# Set @timestamp to integer

**URL:** <https://discuss.elastic.co/t/set-timestamp-to-integer/104585>\
**Category:** Logstash\
**Created:** [October 19, 2017, 3:57pm UTC](https://discuss.elastic.co/t/set-timestamp-to-integer/104585 "2017-10-19T15:57:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![f1ccb489d33b33a0f12a](https://avatars.discourse-cdn.com/v4/letter/f/2bfe46/32.png) [@f1ccb489d33b33a0f12a](https://discuss.elastic.co/u/f1ccb489d33b33a0f12a)\
**Post date:** [October 19, 2017, 3:57pm UTC](https://discuss.elastic.co/t/set-timestamp-to-integer/104585/1 "2017-10-19T15:57:54Z")

</div>

hello all,

in my project, there is no meaning for time. only order of arrival.

i want to change @timestamp to be an integer starting from 100000 and goes on.  
is there a way to do it?

i tried using the date filter like this:

filter {  
date {  
match =\> ["orderOfArrival" ,"yyyyyy"]  
target =\> "@timestamp"  
}  
}

i parse orderOfArrival with grok and it is ok.

any suggestions?

thanks

---

<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:** [November 16, 2017, 3:57pm UTC](https://discuss.elastic.co/t/set-timestamp-to-integer/104585/2 "2017-11-16T15:57:58Z")

</div>

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