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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...