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