Deployment Architecture

Disk - > Disk space used by host

GOGRADY
Engager

Hi this may sound like a simple question ...

we are on splunk 4.2

We have a number of linux servers that we are trying to monitor CPU. Memory and Disk statistics against.

for example disk : we go into the splunk *nix then select Disk -> Diskspace used by host , then get the option to select what host I want to graph.

The first graph is fine . it graphs the host . However immediateldy underneath the graph is "latest disk used by host"

I would expect just to see the host here . Instead I see the df -h output from all the other servers. I do not want to see this (ie when i select a host i just want to see the df -h for that host ONLY)

let me know if i have explained this adequatetly . I need to get an answer on this

Thanks

Tags (1)

imrago
Contributor

The "latest disk used by host" is populated by the following query in this file:
/opt/splunk/etc/apps/unix/default/data/ui/views/disk_used_by_host.xml

[Latest_Disk_Used_by_Host(1)] 

args = host

definition = index="os" sourcetype="df" | dedup host

it could be replaced by:

[Latest_Disk_Used_by_Host(1)]

args = host

definition = index="os" sourcetype="df" host=$host$ | dedup host

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...