# How to extract the time stamp from

**URL:** <https://discuss.elastic.co/t/how-to-extract-the-time-stamp-from/348741>\
**Category:** Logstash\
**Created:** [December 6, 2023, 4:18pm UTC](https://discuss.elastic.co/t/how-to-extract-the-time-stamp-from/348741 "2023-12-06T16:18:42Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 6, 2023, 7:38pm UTC](https://discuss.elastic.co/t/how-to-extract-the-time-stamp-from/348741/6 "2023-12-06T19:38:00Z")

</div>

Add `add_tag => ["randomText"]` to the grok filter and check whether the document ends up having that tag. That will tell you whether the grok is executing.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-extract-the-time-stamp-from/348741)._
