Dashboards & Visualizations

How to drilldown to local windows share

marco1987
Explorer

Hi,
i have a panel with a search like :

index=myindex
|dedup myID
|eval link ="\\\myshare\\".myID
|table _time IP myID link

On Windows OS (Internet Explorer),it's possible to drilldown on link cell table and redirect to local share path ?
I know that on IE browser writing something like "file://path" it works and open a new system window.

Thanks

Tags (1)

achille83
Explorer

Hi Marco,
eventually try to implement, in drilldown stanza of xml source code, a condition field or calculate a token.

Hope this helps!
Bye

0 Karma

diogofgm
SplunkTrust
SplunkTrust

Hi Marco,

You can try to set some field to show you the "file://path" and the use CDATA to make a drilldown link

<drilldown>
   <link>
     <![CDATA[ $click.value$ ]]>
   </link>
 </drilldown>

More info on drill downs from docs:
https://docs.splunk.com/Documentation/Splunk/7.3.1/Viz/DrilldownLinkToURL

And the CDATA part:
https://docs.splunk.com/Documentation/Splunk/7.3.1/Viz/OverviewofSimplifiedXML

Hope this helps!

------------
Hope I was able to help you. If so, some karma would be appreciated.
0 Karma

marco1987
Explorer

Thank you diogofgm for your reply, but it doesn't work.

After drilldown Splunk put "http://IP_Server:Port/en-US/app/Appname/" before "file://path" .

The result is page not found.

0 Karma
Get Updates on the Splunk Community!

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...