# How to Show the Value of tags When Using Server Log Connector

**URL:** <https://discuss.elastic.co/t/how-to-show-the-value-of-tags-when-using-server-log-connector/323372>\
**Category:** Elastic Observability\
**Tags:** elastic-stack-alerting\
**Created:** [January 18, 2023, 2:37am UTC](https://discuss.elastic.co/t/how-to-show-the-value-of-tags-when-using-server-log-connector/323372 "2023-01-18T02:37:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)\
**Post date:** [January 18, 2023, 2:37am UTC](https://discuss.elastic.co/t/how-to-show-the-value-of-tags-when-using-server-log-connector/323372/1 "2023-01-18T02:37:00Z")

</div>

Hello everyone,

i want to ask something about alerting here. i already create a rule to notify me if there is a certificate that will be expire in few days through server log which is kibana.log like this  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b51efb821849867055428221561b8a31e36902f6.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d20bedabae25748100dce2fd844680f4bfbf9826.png)

Due to different types of certificates that exist, in which there is manual-renew and auto-renew, I want to display those tags in the message. so that the script that I made can be given conditions(if else) based on the value of field tags. What variables can I use to display the tags there? i was tried using {{\_source.tags}} but it didn't work

this is the tags value from discover  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac0072f8a51f2bdf5ef1ad0e7465195ff6b4e0e.png)

and fyi, i used elastic 7.17.0 version

Thanks

---

_[View the full topic](https://discuss.elastic.co/t/how-to-show-the-value-of-tags-when-using-server-log-connector/323372)._
