Splunk Search

chart count by Department,Project

kumasaua
Explorer

Dear ALL,

Need your support for calculating Column sum in last column..
I have employee master table.. need sum of all project members department wise.
1st column 2nd column 3rd column sum
12 15 23 50
25 10 10 45

My query is something like this |inputlookup abc.csv | chart count by Department,Project

Tags (1)
0 Karma

niketn
Legend

@kumasaua, try addtotals command which will add Total as final column by default.

| inputlookup abc.csv 
| chart count by Department,Project
| addtotals row=t col=f
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...