# How to find all SIEM rules where field "timestampOverride" is not equal to "event.ingested"?

**URL:** <https://discuss.elastic.co/t/how-to-find-all-siem-rules-where-field-timestampoverride-is-not-equal-to-event-ingested/352383>\
**Category:** Kibana\
**Created:** [February 2, 2024, 10:29am UTC](https://discuss.elastic.co/t/how-to-find-all-siem-rules-where-field-timestampoverride-is-not-equal-to-event-ingested/352383 "2024-02-02T10:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsv/32/47173_2.png) [@dsv](https://discuss.elastic.co/u/dsv)\
**Post date:** [February 2, 2024, 10:29am UTC](https://discuss.elastic.co/t/how-to-find-all-siem-rules-where-field-timestampoverride-is-not-equal-to-event-ingested/352383/1 "2024-02-02T10:29:45Z")

</div>

Hey everyone  
8.12.0

Trying to find SIEM detection rules where field "timestampOverride" is not equal to "event.ingested"

`GET kbn:/api/alerting/rules/_find?search_fields=params.timestampOverride&search=event.ingested`  
is worked.

How to find all other rules where field "timestampOverride" is not equal to "event.ingested"?

The simple filter also works

```auto
GET kbn:/api/alerting/rules/_find?filter=alert.attributes.params.timestampOverride:event.ingested

```

But

```auto
GET kbn:/api/alerting/rules/_find?filter
 { "bool": 
    { "must_not": [
      { "term":
        {"params.timestampOverride": "event.ingested"}
      }
    ]
    }
 }

```

shows all rules (not filtered) as a JSON

 ![image_2024-02-02_131306263](https://us1.discourse-cdn.com/elastic/original/3X/4/7/47fc2780d2b558d45c8ac45761932c5a88c97d9e.png)

---

<div class="post-metadata">

**Author:** ![dsv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsv/32/47173_2.png) [@dsv](https://discuss.elastic.co/u/dsv)\
**Post date:** [February 27, 2024, 10:10am UTC](https://discuss.elastic.co/t/how-to-find-all-siem-rules-where-field-timestampoverride-is-not-equal-to-event-ingested/352383/2 "2024-02-27T10:10:33Z")

</div>

Any ideas?

---

<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:** [March 26, 2024, 10:11am UTC](https://discuss.elastic.co/t/how-to-find-all-siem-rules-where-field-timestampoverride-is-not-equal-to-event-ingested/352383/3 "2024-03-26T10:11:02Z")

</div>

Closed on March 26, 2024, 10:11am UTC

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