Getting Data In

Splunk Host problem

alaquerre
Explorer

Hi ,

I currently have a problem with my reporting host. I am trying to solve a license violation issue but cannot find the search command in order to view the top reporting host based on how much space it is taking in mb.

When I look up by host, I only get one host instead of 35. It is as if splunk has declared my 35 agents as being reporting host instead of hosts.

Any help on this would be greatly apprecaited

Tags (2)
1 Solution

jtrucks
Splunk Employee
Splunk Employee

Use this:

index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | bucket _time span=1d | stats sum(GB) by _time,h

Enjoy!

--
Jesse Trucks
Minister of Magic

View solution in original post

jtrucks
Splunk Employee
Splunk Employee

Use this:

index=_internal source=*license_usage.log type=Usage | eval GB=b/1024/1024/1024 | bucket _time span=1d | stats sum(GB) by _time,h

Enjoy!

--
Jesse Trucks
Minister of Magic

alaquerre
Explorer

Thank you very much for your answer, however what I get as a result is the time the Sum(Gb) and what appears in the H column is my Splunk Server. IT as if splunk sees my splunk server as a host and then all the rest of my ossec agents as reporting_host.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...