# How to add date in email subject triggering through watcher

**URL:** <https://discuss.elastic.co/t/how-to-add-date-in-email-subject-triggering-through-watcher/178892>\
**Category:** Logstash\
**Created:** [April 29, 2019, 10:01am UTC](https://discuss.elastic.co/t/how-to-add-date-in-email-subject-triggering-through-watcher/178892 "2019-04-29T10:01:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohanraj](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@Mohanraj](https://discuss.elastic.co/u/Mohanraj)\
**Post date:** [April 29, 2019, 10:01am UTC](https://discuss.elastic.co/t/how-to-add-date-in-email-subject-triggering-through-watcher/178892/1 "2019-04-29T10:01:20Z")

</div>

Hi, we are getting the count details and sending the details through email using teh watcher option.  
Do we have any option to send the date in the email subject ?  
For example, my email subject should be like this

Subject : Count details report for 2019-04-28

(Note: The report is generated from previous day indices, so the date is previous date)

---

<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 27, 2019, 10:01am UTC](https://discuss.elastic.co/t/how-to-add-date-in-email-subject-triggering-through-watcher/178892/2 "2019-05-27T10:01:25Z")

</div>

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