# Initial Interval Hardcored in Microsoft Fileset Configs

**URL:** https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205
**Category:** Beats
**Tags:** filebeat
**Created:** [January 14, 2025, 9:16pm UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205 "2025-01-14T21:16:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DumbBoi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dumbboi/32/140523_2.png) [@DumbBoi](https://discuss.elastic.co/u/DumbBoi)
#### Post date: [January 14, 2025, 9:16pm UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205/1 "2025-01-14T21:16:08Z")

</div>

The initial intervals for microsoft defender atp and 365 defender are hard coded to last 5 and 55 minutes respectively. There doesn't seem to be any constraints in the API documentation. I plan on creating a PR to fix this.

---

<div class="post-metadata">

### Author: ![Trevor\_Blackford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trevor_blackford/32/120087_2.png) [@Trevor\_Blackford](https://discuss.elastic.co/u/Trevor_Blackford)
#### Post date: [February 19, 2025, 9:30pm UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205/2 "2025-02-19T21:30:30Z")

</div>

I don't think they are hardcoded, there's the default, but this is configurable

> <https://github.com/elastic/integrations/blob/main/packages/m365_defender/data_stream/alert/manifest.yml>

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/6/96f4579fa2f0d62e0b25e0e841ce4a4aa5e6f711.png)

---

<div class="post-metadata">

### Author: ![Trevor\_Blackford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trevor_blackford/32/120087_2.png) [@Trevor\_Blackford](https://discuss.elastic.co/u/Trevor_Blackford)
#### Post date: [February 27, 2025, 2:09am UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205/3 "2025-02-27T02:09:39Z")

</div>

Ah, I see this is for the modules, not the integrations. You are right, they are hardcoded - x-pack/filebeat/module/microsoft/defender\_atp/config/atp.yml  
x-pack/filebeat/module/microsoft/m365\_defender/config/defender.yml

---

<div class="post-metadata">

### Author: ![Trevor\_Blackford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trevor_blackford/32/120087_2.png) [@Trevor\_Blackford](https://discuss.elastic.co/u/Trevor_Blackford)
#### Post date: [February 27, 2025, 2:12am UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205/4 "2025-02-27T02:12:58Z")

</div>

I also see your PR [[Filebeat] Add Initial Interval for Microsoft Filesets by DumbBoi · Pull Request #42309 · elastic/beats · GitHub](https://github.com/elastic/beats/pull/42309)  
I will make sure it gets reviewed. I would still strongly recommend using out integrations, which have better support, and are easier for users to maintain.

---

<div class="post-metadata">

### Author: ![DumbBoi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dumbboi/32/140523_2.png) [@DumbBoi](https://discuss.elastic.co/u/DumbBoi)
#### Post date: [April 17, 2025, 11:18am UTC](https://discuss.elastic.co/t/initial-interval-hardcored-in-microsoft-fileset-configs/373205/5 "2025-04-17T11:18:45Z")

</div>

apologies for being MIA. im only using it for testing for now and saw this bug. . I'll update the PR by tonight, hopefully it will get merged soon.
