Dashboards & Visualizations

How to build Dashboard from scratch

digitalrg
New Member

Hi All,

I am new to Splunk hence bear with my question.
I am forwarding below data from server:


Top 5 process Utilization is as below:
5011 root 2.0 0.7 splunk
13150 axeda 2.0 47.7 java
1 root 0.0 0.0 init
2 root 0.0 0.0 migration/0
3 root 0.0 0.0 ksoftirqd/0

I want to get a Dahsboard Panel with perticular proces like axeda or root showing a graph of 3rd column value.
Since the data is forwarded every 5 mins, I want to see a graph of every 5 mins in X axis and value in Y axis.

Please help.
Thanks,
Raghav

0 Karma

yannK
Splunk Employee
Splunk Employee

For details about the simple XML dashboards : http://docs.splunk.com/Documentation/Splunk/latest/SearchTutorial/Addreportstodashboard

  1. Login to splunk UI, create the search.
  2. When satisfied with your result, saved it to a panel on a new dashboard (top right option).
  3. Then check the dashboard, and use the edit options to format your graphs or add forms options.

For the search, the events look like PS script results.

what are the fields already extracted ?
Are each line a separate event or are they a multiline event ?
-> to split your events , see the commands http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Multikv

You may also can define fields extractions to retrieve the values. (by example MYPROCESS and MYVALUE)
and when all is done, create your search :

<mysearch> | <myextrations> | where MYPROCESS="root" or MYPROCESS="axeda" | timechart span=5m max(MYVALUE) by MYPROCESS

0 Karma

digitalrg
New Member

Thank you very much.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...