Splunk Search

How can I avoid that every slash '/' in a URL is converting to '%2af'?

wes7bb
New Member

In one table column I have a URL as a Link.

Working format: www.google.de
Not working format: https://www.google.de/ because splunk is replacing this link to https://https%3a%2f%2fwww.google.de%2f/

In my source code I have added this:

      <link target="blank"> https://$click.value$</link>;
    </drilldown> 

Can you please help me that splunk is not converting each '/' into other letters that the link is working?

Thanks a lot in advance!

Tags (2)
0 Karma
1 Solution

Javip
Path Finder

Hi!

Try this:

           <link target="_blank">
             <![CDATA[ https://$click.value$ ]]>
           </link>

Regards,
Javier.

View solution in original post

0 Karma

Javip
Path Finder

Hi!

Try this:

           <link target="_blank">
             <![CDATA[ https://$click.value$ ]]>
           </link>

Regards,
Javier.

0 Karma

wes7bb
New Member
<![CDATA[$click.value|n$]]> 

I found this now as a solution.

Thanks for your help!

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...