All Apps and Add-ons

raw log link in Splunk dashboard

smolcj
Builder

hi,
is it possible to keep a link to the raw log file in splunk? if user want to see the file in it's exact format. How to show the url source file in showsource option? how to get sid of the file?
Scenario is like, i have a dshboard with a pull down box that populating sourcefilenames and the dshboard is in sideview advanced XML. i have created an Html module like this

         <module name="HTML" layoutPanel="panel_row1_col1">
                    <param name="html">
                    <![CDATA[<p> View Your Source File <a href="http://myhostname:8000/en-US/app/myapp/show_source?sid="$.info_search_id.$"&offset=0"> here </a></p>]]> 
                 </param>
                </module>

the issue i am facing is .info_search_id. is not passing any value to the url, i tried info_id also..
Please help
Thank you

1 Solution

smolcj
Builder

It is sid=$results.sid$ in side view 🙂
check out host:port/en-US/app/sideview_utils/custom_keys
Thanks for your valuable time

View solution in original post

smolcj
Builder

It is sid=$results.sid$ in side view 🙂
check out host:port/en-US/app/sideview_utils/custom_keys
Thanks for your valuable time

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...