Knowledge Management

is it possible to check Collection Interval is always greater than a specific time for a modular input.

SudarshanS
Explorer

Hi,

Is there a way to enforce "collection interval" on an addon to be greater than 5 mins. As i don't want users to set the collection interval as 1sec and overload the server.

Thanks,
Sudarshan

0 Karma
1 Solution

woodcock
Esteemed Legend

You can set it to whatever you like and then make sure that "normal" users have roles which do not have permissions that allow them to change this.

View solution in original post

0 Karma

woodcock
Esteemed Legend

You can set it to whatever you like and then make sure that "normal" users have roles which do not have permissions that allow them to change this.

0 Karma

SudarshanS
Explorer

Thank you so much for your reply.

0 Karma

adonio
Ultra Champion

hello there,
maybe use the rest input endpoint and search for shorter intervals and save as alert?
| rest /services/data/inputs/all | search interval < 300

there is probably a more accurate endpoint for modular inputs.
p.s. why do users can edit inputs?
hope it helps

0 Karma

SudarshanS
Explorer

Thank you so much for your input. Will look into it.

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...