All Apps and Add-ons

JobProgressIndicator - Progress bar does not appear

rlautman
Path Finder

I have been trying to get a search progress bar to appear on a large form that takes quite a while to load. I have tried inserting the JobProgressIndicator module in several places, including above and below the HiddenSearch module but to no avail. In other examples I have seen it nested within the HiddenFieldPicker module however the form I am editing does not contain this module. Below is the xml I am using, I have highlighted where I have again tried to action the JobProgressIndicator. Any help would be greatly appreciated as I am quite new to Splunk and xml.

module name="JobProgressIndicator" layoutpanel="panel_row2_col1_grp1">

module name="HiddenSearch" layoutPanel="panel_row3_col1_grp1" autoRun="True" group="KCI - 0">

index="b2bapps" sourcetype="b2b_audit" earliest=-0d@d latest=now ("OrderPending" AND b2b_LText="Message sent to Trading Partner") OR ("AddOrder" AND b2b_LText="Received request from Trading Partner") | eval Flag = if(b2b_LText=="Received request from Trading Partner","Request","Response") | eventstats count as ttl by Flag | fields _time,IssueDateTime,E2E_busTxnSeq,ttl,Flag | eval RequestReceived =strptime(IssueDateTime,"%Y-%m-%dT%H:%M:%S") | stats count(eval(((_time-RequestReceived)/60)<30)) as KCI0_1 count(eval(((_time-RequestReceived)/60)<60)) as KCI0_2 count(eval(((_time-RequestReceived)/60)>60)) as KCI0_3 count(eval(Flag=="Request")) as RequestCount count(eval(Flag=="Response")) as ResponseCount by Flag | eval 95%=(KCI0_1/ResponseCount)*100 | eval 98%=(KCI0_2/ResponseCount)*100 | eval TargetMiss=(KCI0_3/ResponseCount)*100 | stats max(RequestCount) as Reqcount max(ResponseCount) as Total max(95%) as 95% max(98%) as 98%,max(TargetMiss) as TargetMiss|fillnull value=0 95%,98%,TargetMiss

Tags (1)
0 Karma
1 Solution

stefano_guidoba
Communicator

Hi,
please try this way:

<module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" autoRun="True" group="KCI - 0">
  <param name="search">...</param>
  <module name="JobProgressIndicator">
    <module name="EnablePreview">
      <param name="enable">True</param>
  <param name="display">False</param>
    </module>
  </module>
</module>

What are you using for showing this results? A SimpleResultsTable?

Regards,
Stefano

View solution in original post

stefano_guidoba
Communicator

Hi,
please try this way:

<module name="HiddenSearch" layoutPanel="panel_row2_col1_grp1" autoRun="True" group="KCI - 0">
  <param name="search">...</param>
  <module name="JobProgressIndicator">
    <module name="EnablePreview">
      <param name="enable">True</param>
  <param name="display">False</param>
    </module>
  </module>
</module>

What are you using for showing this results? A SimpleResultsTable?

Regards,
Stefano

rlautman
Path Finder

Hi Stefano, this seems to have worked, many thanks 🙂

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...