Dashboards & Visualizations

How to send job to background in simpleXML?

sistemistiposta
Path Finder

Hello,

  if I want to send a job in background from a dashboard I have to Open in Search and after that I can perform the choice.

I wonder if there is some trick to directly send a dashboard job to background.

Do you have any hints?

Thank you and happy splunking

Marco

Labels (3)
0 Karma

nagendra1111
Loves-to-Learn

@thahir @PickleRick 

I am testing something with 

/api/search/jobs/$SID$/control?action=save
it is working on and off , sometime it work and sometime not.
0 Karma

thahir
Communicator

Hi @nagendra1111 ,

Splunk does not currently support sending dashboard panel searches directly to background jobs from the UI.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What are you trying to achieve? If it is to hide a panel / row until the results are available, then you can use tokens set or unset by the <done> / <processing> clauses of the query and make the panel / row depend or reject said tokens.

0 Karma

sistemistiposta
Path Finder

Hello,

   I try to explain. Some searches can be slow to end. Let suppose I write a dashboard where I allow an input time interval of one year for a search.

So I would like that a user that enter a dashboard and fill a form could also choose to perform the search in background, receiving through email a message when the search ends. Obviously in this way the user will see the result in the provided link, he will not see the result in the dashboard.

I know that in this way there is the risk that users could run too many search in background, but this is another problem.

Thank you very much

0 Karma

nagendra1111
Loves-to-Learn

did you able to find solution for this.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

There is no such functionality in SimpleXML. And it's understandable to some extent - dashboards are meant for interactive work. You probably could create something like that with custom JS but it won't be easy. 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...