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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...