# How to parse this (1524555283.778710) timestamp?

**URL:** <https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250>\
**Category:** Logstash\
**Created:** [April 24, 2018, 7:48am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250 "2018-04-24T07:48:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [April 24, 2018, 7:48am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250/1 "2018-04-24T07:48:56Z")

</div>

Hello Everyone,

I have one timestamp like 1524555283.778710.

How to parse this timestamp i had tried with following command,

```
date {
  match => ["ts", "UNIX"]
}

```

and this one also,  
if i do this one then its giving date parse failure.

```
date {
  match => ["ts", "UNIX_MS"]
  target => "new_ts"
}

```

But still did not parse this timestamp please help me to resolve this.

Thanks & Regards,  
Krunal.

---

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [April 24, 2018, 7:58am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250/2 "2018-04-24T07:58:16Z")

</div>

Hello Guys,

Sorry for interrupting now its parsing fine i get the solution for this que.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 24, 2018, 7:59am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250/3 "2018-04-24T07:59:16Z")

</div>

Please help others by sharing the solution you found.

---

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [April 24, 2018, 8:04am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250/4 "2018-04-24T08:04:09Z")

</div>

> [@Krunal\_kalaria](#):
>
> date {  
> match =\> ["ts", "UNIX"]  
> }

Hi @magnusbaeck,

Yes Sure i just add new line target =\> "newts" like following before i did not add but after add this line it's working fine and parse that timestamp also.

date {  
match =\> ["ts", "UNIX"]  
target =\> "newts"  
}

Thanks & Regards,  
Krunal.

---

<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:** [May 22, 2018, 8:06am UTC](https://discuss.elastic.co/t/how-to-parse-this-1524555283-778710-timestamp/129250/5 "2018-05-22T08:06:30Z")

</div>

Closed on May 22, 2018, 8:06am UTC

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