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!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...