Splunk Search

How do you evaluate user CPU per user ID?

bjaylsu
New Member

Can we track CPU usage of users via splunk? We have users that are running lots of transactions. We are looking to determine how those transactions may affect overall CPU and what percent of the CPU is being used by those users within a set time frame.

The OS is Linux. This is for an Atlassian Jira application. I have users who have jobs that run every hour of the day. I'm checking response time by host via my dashboard. From the "interesting fields" section I drilled down to see my Top ten values including user id's/names. I'd like to track CPU % of each user. I have access to CPU data from Splunk, raw events, and unix logs from the host. I can see counts and percentages of the transactions by users, but I'm unsure how to break down CPU per user. Can you advise what data may be needed/required?

0 Karma

adonio
Ultra Champion

if you have the data, everything (almost) is possible
what kind of systems? what OS? do you have access to the data?
overall, the short answer to your question is: "yes".
the long answer is: "yes you can, we will need more info to assist"

0 Karma

bjaylsu
New Member

The OS is Linux. This is for an Atlassian Jira application. I have users who have jobs that run every hour of the day. I'm checking response time by host via my dashboard. From the "interesting fields" section I drilled down to see my Top ten values including user id's/names. I'd like to track CPU % of each user. I have access to CPU data from splunk, raw events, and unix logs from the host. I can see counts and percentages of the transactions by users, but I'm unsure how to break down CPU per user. Can you advise what data may be needed/required?

0 Karma

Sukisen1981
Champion

As @adonio said, is it possible to share samples of your data with the relevant fields and then we can assist with what you want... It is hard to suggest/write SPL without looking at the underlying data 🙂

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!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...