Deployment Architecture

How to write a search to get total license warning?

debjit_k
Path Finder

Hi 

Hope you are doing good..

I'm having a small query I want to check my license warning on my splunk with date I.e. On 26th of September we received 1 license warning.

I'm using the below query to get the total license warming I have on my splunk till now 

| rest splunk_server=local /services/licenser/slaves | mvexpand active_pool_ids | where warning_count>0 | eval pool=active_pool_ids | join type=outer pool [rest splunk_server=local /services/licenser/pools | eval pool=title | fields pool stack_id] | eval in_violation=if(warning_count>4 OR (warning_count>2 AND stack_id=="free"),"yes","no") | fields label, title, pool, warning_count, in_violation | fields - _timediff | rename label as "Slave" title as "GUID" pool as "Pool" warning_count as "Hard Warnings" in_violation AS "In Violation?"

Kindly guide me how can I get the license warning with date.

 

Thanks

 

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @debjit_k,

if you go in [Settings -- License] you have all the information about the license warnings and the license consuption day by day.

You can access these information on the License Master.

if you cannot access it you can use the Monitoring Console.

A search like the one you shared is useful, but I hint to start from the Splunk GUI features.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...