# Pass the data into alert actions

**URL:** https://discuss.elastic.co/t/pass-the-data-into-alert-actions/364962
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [August 15, 2024, 2:24pm UTC](https://discuss.elastic.co/t/pass-the-data-into-alert-actions/364962 "2024-08-15T14:24:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yar](https://avatars.discourse-cdn.com/v4/letter/y/858c86/32.png) [@yar](https://discuss.elastic.co/u/yar)
#### Post date: [August 15, 2024, 2:24pm UTC](https://discuss.elastic.co/t/pass-the-data-into-alert-actions/364962/1 "2024-08-15T14:24:13Z")

</div>

Hi,

I have created the Threshold based alert. It is executing a query against `staging_logs` and `production_logs` indices. How can I pass down the index in actions? I mean if the rule got triggered on some log in `staging_logs` index, I want to pass this index in actions.
