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!

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