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
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...