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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...