# Filbert get the timestamp from the filename

**URL:** <https://discuss.elastic.co/t/filbert-get-the-timestamp-from-the-filename/198819>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 10, 2019, 3:47am UTC](https://discuss.elastic.co/t/filbert-get-the-timestamp-from-the-filename/198819 "2019-09-10T03:47:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiuHao](https://avatars.discourse-cdn.com/v4/letter/l/ea5d25/32.png) [@LiuHao](https://discuss.elastic.co/u/LiuHao)\
**Post date:** [September 10, 2019, 3:47am UTC](https://discuss.elastic.co/t/filbert-get-the-timestamp-from-the-filename/198819/1 "2019-09-10T03:47:09Z")

</div>

Hello,I'am new in Filebeat and now I get a problem.  
My log file's name like 11073101\_20190811.txt :school number\_yyyymmdd.txt  
and the content like 00:15:34,109.75.53.176 :hh:mm:ss,IP  
How can I get the timestamp from the filename and the content together  
Thank you very much!

---

<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 8, 2019, 3:47am UTC](https://discuss.elastic.co/t/filbert-get-the-timestamp-from-the-filename/198819/2 "2019-10-08T03:47:11Z")

</div>

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