Splunk Search

searching for disk and network commands

HY
Explorer

Does anyone know how do I perform a search on the "top 10 processes by disk" which consists of the names as well as the total memory for the disks, in addition to the used and free space? Then for "top 10 processes by network", I need the names, sent(MB) as well as received(MB).

0 Karma

Voltaire
Communicator

Have you looked at the Splunk Cisco firewall, *nux or Windows app? It has many default system, disk, network searches that may be a good place to start. You can also referr to the event types for examples from the manager.
Here is a Search.Winfreediskspace example from Windows app.
source=WMI:FreeDiskSpace NOT localhost | stats first(FreeMegabytes) as free last(FreeMegabytes) as oldfree by host Name | eval "Change from 24 hours ago (MB)" = tostring(free - oldfree, "commas") | fields -

0 Karma

HY
Explorer

I have tried making use of the default commands but I still won't be able to get the commands right

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...