# Run Elastic detection rule in non real time logs

**URL:** <https://discuss.elastic.co/t/run-elastic-detection-rule-in-non-real-time-logs/283787>\
**Category:** SIEM\
**Created:** [September 9, 2021, 2:12pm UTC](https://discuss.elastic.co/t/run-elastic-detection-rule-in-non-real-time-logs/283787 "2021-09-09T14:12:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheHunter1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thehunter1/32/80190_2.png) [@TheHunter1](https://discuss.elastic.co/u/TheHunter1)\
**Post date:** [September 9, 2021, 2:12pm UTC](https://discuss.elastic.co/t/run-elastic-detection-rule-in-non-real-time-logs/283787/1 "2021-09-09T14:12:01Z")

</div>

Hello,

I have some windows log files and I have uploaded them to my cluster using winlogbeat [[Not sure how to read from .evtx files | Winlogbeat Reference [master] | Elastic](https://www.elastic.co/guide/en/beats/winlogbeat/master/reading-from-evtx.html)]

I would like to know if it's possible to run detection rules for that logs to help me in my investigation as there is log ot logs ?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![n2x4](https://avatars.discourse-cdn.com/v4/letter/n/3e96dc/32.png) [@n2x4](https://discuss.elastic.co/u/n2x4)\
**Post date:** [September 11, 2021, 1:15pm UTC](https://discuss.elastic.co/t/run-elastic-detection-rule-in-non-real-time-logs/283787/2 "2021-09-11T13:15:22Z")

</div>

The only thing I could think of that might work in Elastic is to adjust the lookback time on when a rule is run or build visualizations that match the detection query and run your logs against the visualization in Kibana.

There are a few alternatives that can run SIGMA rules against event log files. You could convert your detection rules to SIGMA and then run your logs against those rules.

> **[GitHub - wagga40/Zircolite: A standalone SIGMA-based detection tool for EVTX.](https://github.com/wagga40/Zircolite)**
>
> A standalone SIGMA-based detection tool for EVTX. Contribute to wagga40/Zircolite development by creating an account on GitHub.

> **[GitHub - countercept/chainsaw: Rapidly Search and Hunt through Windows Event...](https://github.com/countercept/chainsaw)**
>
> Rapidly Search and Hunt through Windows Event Logs - GitHub - countercept/chainsaw: Rapidly Search and Hunt through Windows Event Logs

---

<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:** [October 9, 2021, 1:15pm UTC](https://discuss.elastic.co/t/run-elastic-detection-rule-in-non-real-time-logs/283787/3 "2021-10-09T13:15:35Z")

</div>

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