# Unable to forward watcher alert to index with all details

**URL:** <https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048>\
**Category:** SIEM\
**Tags:** elastic-stack-alerting\
**Created:** [March 23, 2021, 6:46am UTC](https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048 "2021-03-23T06:46:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditi\_salunke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditi_salunke/32/85600_2.png) [@aditi\_salunke](https://discuss.elastic.co/u/aditi_salunke)\
**Post date:** [March 23, 2021, 6:46am UTC](https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048/1 "2021-03-23T06:46:46Z")

</div>

```auto
{
  "trigger": {
    "schedule": {
      "interval": "15m"
    }
  },
  "input": {
    "search": {
      "request": {
        "search_type": "query_then_fetch",
        "indices": [
          "##selective index##"
        ],
        "rest_total_hits_as_int": true,
        "body": {
          "size": 0,
          "query": {
            "bool": {
              "must": [
                {
                  "query_string": {
                    "query": """(lucene query)""",
                   }
                }
              ],
              "filter": {
                "range": {
                  "@timestamp": {
                    "gte": "now-5m/m"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "condition": {
    "compare": {
      "ctx.payload.hits.total": {
        "not_eq": 0
      }
    }
  },
  "actions": {
    "index01": {
      "index": {
        "index": "##selected index for watcher alerts##"
      }
    }
  }
}

```

\*\*though the watcher alert is firing not able to see in the index, \*\*

---

<div class="post-metadata">

**Author:** ![yctercero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yctercero/32/68560_2.png) [@yctercero](https://discuss.elastic.co/u/yctercero)\
**Post date:** [March 23, 2021, 10:50pm UTC](https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048/2 "2021-03-23T22:50:01Z")

</div>

Hi @aditi_salunke !

Just wanted to double check, is this related to the SIEM/Elastic Security app? If not, it may be best to tag with #stack-alerting .

Best,  
Yara

---

<div class="post-metadata">

**Author:** ![aditi\_salunke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aditi_salunke/32/85600_2.png) [@aditi\_salunke](https://discuss.elastic.co/u/aditi_salunke)\
**Post date:** [March 24, 2021, 5:54am UTC](https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048/3 "2021-03-24T05:54:51Z")

</div>

Hi @yctercero ,

Thanks for the help .

---

<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:** [April 21, 2021, 5:55am UTC](https://discuss.elastic.co/t/unable-to-forward-watcher-alert-to-index-with-all-details/268048/4 "2021-04-21T05:55:51Z")

</div>

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