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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...