Dashboards & Visualizations

Jobstatus in Dashboards

KarunK
Contributor

Hi All,

I have created a dashboard for some users and since the searches are too long to complete, I want to add Jobstatus module to the dashboard. So the users can save the results and push the jobs to the background and they can later access the dashboard with search results via Job manager.

How can we implement this ?

Thanks in Advance.

Regards

KK

Tags (2)
0 Karma

rroberts
Splunk Employee
Splunk Employee

If you are using advanced XML i.e.( view root element) you can add a Job control menu to the panel like so:

...

< module name="TimeRangePicker">

< param name="selected">Last 15 minutes < /param>

< param name="searchWhenChanged">True < /param>

< module name="JobStatus">

< param name="showCreateMenu">false < / param>

< param name="showSaveMenu">false < / param>

< /module>

...

0 Karma

rroberts
Splunk Employee
Splunk Employee

Are you clicking the finalize button or sent job to background button? In either case when you click on jobs view you should see saved results.

0 Karma

sachinlokulwar
New Member

Hello,

How can I do this same things using Html or Django tags.because I want to do this using Html page

Regards

sachin

0 Karma

KarunK
Contributor

Hi Roberts,

Thanks for that.

I have tried this and i got a JobStatus bar on my dashboard. But when i save a search and push it backgroud and then when i access it via the Job manager it open a new window and start searching again instead of give me the saved results. What could be the reason ?

0 Karma

lguinn2
Legend

I don't know of a way to implement what you are asking. However, you could simply set up the searches to run on a schedule (every hour for example). When the user chooses the dashboard, it will automatically load the cached search results. The user does not have to do anything for this to work, and the dashboard will load very quickly.

Summary indexing is another way to make dashboards load faster. However, I think that scheduled searches are a closer match to what you are asking for, and easier to implement.

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, ...