Getting Data In

Get todays Indexing Volume using the cli

FRoth
Contributor

Is there a way to retrieve the indexing volume of the current day using the CLI?

Tags (3)
0 Karma

kristian_kolb
Ultra Champion

I guess you can use the rest search for that from the CLI.

Try:

./splunk search "| rest /services/licenser/pools | fields + title used_bytes"

And work from there - also check out the docs for the REST API;
http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTcontents

Hope this helps,

Kristian

kristian_kolb
Ultra Champion

oops, my bad. Thanks Drainy.

Drainy
Champion

Don't include the space, so "| rest

0 Karma

FRoth
Contributor

It says:
FATAL: Error in 'rest' command: This command must be the first command of a search.

0 Karma
Get Updates on the Splunk Community!

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 ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...