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!

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