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!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...