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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...