# How To Separate Time From Logs, Logstash Parsing Logs

**URL:** <https://discuss.elastic.co/t/how-to-separate-time-from-logs-logstash-parsing-logs/199784>\
**Category:** Logstash\
**Created:** [September 17, 2019, 8:17am UTC](https://discuss.elastic.co/t/how-to-separate-time-from-logs-logstash-parsing-logs/199784 "2019-09-17T08:17:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fedir\_Yatseta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fedir_yatseta/32/54315_2.png) [@Fedir\_Yatseta](https://discuss.elastic.co/u/Fedir_Yatseta)\
**Post date:** [September 17, 2019, 8:17am UTC](https://discuss.elastic.co/t/how-to-separate-time-from-logs-logstash-parsing-logs/199784/1 "2019-09-17T08:17:24Z")

</div>

Hi everyone, I have logs with a view -  
"2019-09-17 04:06:01,294 INFO [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 6614.501ms)"

How do I separate a date from a given line and output it в @timestamp

At the moment I have this kind of log in Kibana

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06ee8422483e563cc1366f13dc86b066d5966630.png)

I want to sort the logs by the log creation time and not the kiban output time - "2019-09-17 04:06:01,294"

---

<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:** [October 15, 2019, 8:17am UTC](https://discuss.elastic.co/t/how-to-separate-time-from-logs-logstash-parsing-logs/199784/2 "2019-10-15T08:17:24Z")

</div>

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