All Apps and Add-ons

how to get license usage in splunk by index by REST

nithinrakesh
Engager

how to get license usage in splunk by index by REST. I cannot find logs in index=_internal

0 Karma

harsmarvania57
Ultra Champion

Hi @nithinrakesh,

You can search splunk license usage by query index=_internal source=*license_usage.log* and do calculation based on your requirement.

If you want to use REST then you can use | rest /services/licenser/pools, this REST will give you today's license usage for different pools.

I hope this helps.

Thanks,
Harshil

nithinrakesh
Engager

HI @Harshil I got it through pools but I need group by index

0 Karma

ddrillic
Ultra Champion

This is gorgeous - | rest /services/licenser/pools. But how can we break it by index?

I have a similar thing when doing it from the UI at - Why do we see a discrepancy between the daily licensing page and the Usage report for the past 30 da...

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...