Dashboards & Visualizations

Link to Fieldset in a dashboard

attu013
Engager

Hi All,

I am very new to splunk.
I have a basic dashboard which has just one Fieldset.
Below is xml for my dashboard.

My Dash

<input type="text" token="RequestId" searchWhenChanged="true"></input>


<panel>
  <title>My Title</title>
  <event>
    <title>My Event</title>
    <search>
      <query>index="myIndex" AND source = "*MySource*" OR  AND earliest = @d | transaction source startswith="copyright" | search requestid = $RequestId$</query>
      <earliest>0</earliest>
      <latest></latest>
    </search>
  </event>
</panel>

Is it possible to generate a link for the requestid fieldset so that I can pass in parameter like :
https://URl to fieldset?param1="1234" ?

Please let me know if this is possible...

Thanks a lot in advance..

Tags (3)
0 Karma
1 Solution

somesoni2
Revered Legend

I'm guessing you want have a link to the dashboard with some values passed for the RequestId textbox.

If the value that you want to pass is dynamic, your link should be like this

https://YourSplunkURL/en-US/app/yourappname/yourdashboardname?form.RequestId=1234

If the value that you want to pass is static, I suggest to use the default value for the text box. See this
http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#input_type_.22...

View solution in original post

0 Karma

somesoni2
Revered Legend

I'm guessing you want have a link to the dashboard with some values passed for the RequestId textbox.

If the value that you want to pass is dynamic, your link should be like this

https://YourSplunkURL/en-US/app/yourappname/yourdashboardname?form.RequestId=1234

If the value that you want to pass is static, I suggest to use the default value for the text box. See this
http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#input_type_.22...

0 Karma

attu013
Engager

Exactly what i needed. I will be passing in dynamic parameter.
Thank you very much.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...