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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...