Splunk Enterprise

cpu and mem usage

dall
Path Finder

Hi i am new to splunk dashboard

 

I have events like this from here, how i ll get cpu and memory usage?

can any one help on this??

<182>2020-09-18T08:01:18.787Z vmkernel: cpu56:6319637)Sched: vm 6319638: 6193: Adding world 'vmm0:bcollab-sie-lx', group 'host/user', cpu: shares=-1 min=-1 minLimit=-1 max=-1, mem: shares=-1 min=-1 minLimit=-1 max=-1


<182>2020-09-18T08:07:19.325Z vmkernel: cpu48:6320125)Sched: vm 6320126: 6193: Adding world 'vmm0:burp-collab-sie', group 'host/user', cpu: shares=-1 min=-1 minLimit=-1 max=-1, mem: shares=-1 min=-1 minLimit=-1 max=-1


<182>2020-09-18T07:26:07.290Z vmkernel: cpu34:6317318)Sched: vm 6317319: 6193: Adding world 'vmm0:burpcollab-sie', group 'host/user', cpu: shares=-1 min=-1 minLimit=-1 max=-1, mem: shares=-1 min=-1 minLimit=-1 max=-1

Labels (1)

ITWhisperer
SplunkTrust
SplunkTrust
| rex "cpu\d+:(?<cpu>[^\)])\)Sched:\svm\s(?<vm>[^:]+)"

This assumes the cpu value you want is between the ":" and the ")" and the vm value you want is between the "vm " and the ":"

dall
Path Finder

sorry,this one is notgiving any result.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Which part of the message do you want? Can you copy it into a code section so it isn't formatted?

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!

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 ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...