Security

How to drop all events automatically after license warning?

Yaichael
Communicator

Good day,

Is there a way to drop all events whenever a license warning pops up in the platform?

Thanks!

Tags (1)
0 Karma
1 Solution

Justinboucher0
Path Finder

Nope...Not that I'm aware of. Depending on your scripting ability though, you can create an alert that checks for license warnings, then runs a script. The script can turn disabled=0 to disabled=1 on your inputs.conf. But it would be difficult to manage, unless you did it from the deployment server.

If you are going over your license though, as soon as you turn the disabled=1 back to zero, the UF would just ingest the data that hadn't been sent yet. Which would cause the alert to fire off again, and then you are in a cyclical process. It would be better to do a data study to see what you need vs want to collect. Or just buy more license. That's my opinion though.

View solution in original post

0 Karma

Justinboucher0
Path Finder

Nope...Not that I'm aware of. Depending on your scripting ability though, you can create an alert that checks for license warnings, then runs a script. The script can turn disabled=0 to disabled=1 on your inputs.conf. But it would be difficult to manage, unless you did it from the deployment server.

If you are going over your license though, as soon as you turn the disabled=1 back to zero, the UF would just ingest the data that hadn't been sent yet. Which would cause the alert to fire off again, and then you are in a cyclical process. It would be better to do a data study to see what you need vs want to collect. Or just buy more license. That's my opinion though.

0 Karma

Yaichael
Communicator

Thanks for the reply, Justin.

Yes, this is what I also thought, but wanted to confirm on behalf of someone.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...