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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...