Getting Data In

How Polling "interval" affect the granularity of the data ?

chimbudp
Contributor

Eg:1 inputs.conf

[WinEventLog:Application]
disabled = 0
index = My_index

interval = 300

Eg:2
[WinEventLog:Security]
disabled = 0
index = My_index

interval = 1800

In the above inputs.conf example :
Data being captured and sent every 5 min and 30 min resp as per the configs.

What is the difference in it ? I could able to get the data every 5 min & every 30 min resp.
How this actually affect the granularity of the data ?
will some data not send when i set to 30 min interval ?

0 Karma
1 Solution

BobM
Builder

This does not affect the granularity of event logs at all. All events will be collected with their individual timestamps.

Windows can not cope with continuous requests and in some cases misdiagnoses it as a Denial of Service attack and shuts down access to the service. To prevent this, we schedule collection. Having the schedule too close can look like continuous collection especially if other splunk inputs or other programs are also collecting logs. Having it too far apart means our search results are not up to the minute which could give time for someone to clear the logs to hide their actions.

I would set this to between 30 sec for critical systems to 5 minutes for less critical ones.

For performance collection, it does affect granularity and a variety of intervals may be appropriate.

View solution in original post

BobM
Builder

This does not affect the granularity of event logs at all. All events will be collected with their individual timestamps.

Windows can not cope with continuous requests and in some cases misdiagnoses it as a Denial of Service attack and shuts down access to the service. To prevent this, we schedule collection. Having the schedule too close can look like continuous collection especially if other splunk inputs or other programs are also collecting logs. Having it too far apart means our search results are not up to the minute which could give time for someone to clear the logs to hide their actions.

I would set this to between 30 sec for critical systems to 5 minutes for less critical ones.

For performance collection, it does affect granularity and a variety of intervals may be appropriate.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...