# SIEM mail format for winevent log

**URL:** <https://discuss.elastic.co/t/siem-mail-format-for-winevent-log/273632>\
**Category:** SIEM\
**Tags:** elastic-stack-alerting\
**Created:** [May 21, 2021, 7:54am UTC](https://discuss.elastic.co/t/siem-mail-format-for-winevent-log/273632 "2021-05-21T07:54:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Post date:** [May 21, 2021, 7:54am UTC](https://discuss.elastic.co/t/siem-mail-format-for-winevent-log/273632/1 "2021-05-21T07:54:52Z")

</div>

Hi a.

The mail format for elastic siem was a little weird for me at this point.  
For most case the mail got the right format out to me but on the case of winevent log it is a bit difference.  
when i try the `{{winlog.event_data.SamAccountName}}`  
This never worked for me.  
And some how some of the json never worked as well.

Thanks for your time.

---

<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 18, 2021, 7:55am UTC](https://discuss.elastic.co/t/siem-mail-format-for-winevent-log/273632/2 "2021-06-18T07:55:28Z")

</div>

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