# Generate @timestamp in-logstash-by-concatenating-date-from-filename-and-time-from-logs

**URL:** https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556
**Category:** Logstash
**Created:** [April 17, 2017, 9:29am UTC](https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556 "2017-04-17T09:29:52Z")
**Posts on this page:** 3
**Page:** 2

<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: [May 16, 2017, 5:25am UTC](https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556/21 "2017-05-16T05:25:31Z")

</div>

Seems to be a known issue.

> <https://github.com/logstash-plugins/logstash-input-beats/issues/170>

---

<div class="post-metadata">

### Author: ![shammi](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@shammi](https://discuss.elastic.co/u/shammi)
#### Post date: [May 16, 2017, 5:49am UTC](https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556/22 "2017-05-16T05:49:53Z")

</div>

Oh ! I see. she was using the same logstash version 2.4.1  
I will check by upgrading the logstash version.

Thanks for your help Magnus.!!  
Cheers 🙂 👍

---

<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: [June 13, 2017, 5:57am UTC](https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556/23 "2017-06-13T05:57:20Z")

</div>

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

[Previous page](https://discuss.elastic.co/t/generate-timestamp-in-logstash-by-concatenating-date-from-filename-and-time-from-logs/82556.md?page=1)
