# Unable to get the field value of context.group.agent.name while configuring the alerts to index connector

**URL:** https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014
**Category:** Kibana
**Created:** [May 8, 2024, 4:08am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014 "2024-05-08T04:08:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)
#### Post date: [May 8, 2024, 4:08am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014/1 "2024-05-08T04:08:39Z")

</div>

While configuring the custom threshold rule in kibana with index connector im not able to get the value for field context.group.agent.name. As i want to use agent.name in another field/keyword. what is the syntax to get the agent.name from the below field context.group as context.group.agent.name is not working.

context.group: {"field":"agent.name","value":"ABC123"},{"field":"nginx\_ingress\_controller.access.upstream.name","value":"arp-portal-service-9036"},{"field":"url.path","value":"/signewportal/upload"}

---

<div class="post-metadata">

### Author: ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)
#### Post date: [May 8, 2024, 4:12am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014/2 "2024-05-08T04:12:13Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8b7149e604046c977a6d3b48f696e94c95837b6.png)

---

<div class="post-metadata">

### Author: ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)
#### Post date: [May 8, 2024, 4:39am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014/3 "2024-05-08T04:39:27Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/5/850a298eeca979fd08ba16117abfc5b3d9d0c1ee.png)  
Also how to access the value of the condtion...  
cond1\_value: "{{context.value.condition1}}" is not working. whether am i missing anything?

---

<div class="post-metadata">

### Author: ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)
#### Post date: [May 9, 2024, 3:59am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014/5 "2024-05-09T03:59:05Z")

</div>

Sir..kindly guide us on this?

---

<div class="post-metadata">

### Author: ![Subrahmanyam\_Veerank](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Subrahmanyam\_Veerank](https://discuss.elastic.co/u/Subrahmanyam_Veerank)
#### Post date: [May 10, 2024, 11:31am UTC](https://discuss.elastic.co/t/unable-to-get-the-field-value-of-context-group-agent-name-while-configuring-the-alerts-to-index-connector/359014/6 "2024-05-10T11:31:17Z")

</div>

can anyone help us?
