Dashboards & Visualizations

How to use drill-downs using whole field values?

memarshall63
Communicator

I coded this drill down from my panel:

    <panel>
      <table>
        <search>
          <query>| makeresults 
| eval base = "www.google.com" 
| eval full = "http://www.google.com"
| eval word = "google"</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="count">10</option>
        <option name="drilldown">cell</option>
        <drilldown>
          <link target="_blank">$row.full$</link>
        </drilldown>
      </table>
    </panel>

I want the drill down to go to the full URL that's in $row.full$. However, Splunk seems to assume this is a relative path. If I use

        <drilldown>
          <link target="_blank">http://$row.base$</link>
        </drilldown>

It works as expected. The field I want to use as a target URL has the full path in it. So I'd rather just use $row.full$ as the target.

Is there a way to tell splunk it's a full URL?

0 Karma
1 Solution

niketn
Legend

@memarshall63 try with Token Filter |n which means no filter on existing token.

      <link target="_blank">$row.full|n$</link>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

@memarshall63 try with Token Filter |n which means no filter on existing token.

      <link target="_blank">$row.full|n$</link>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

memarshall63
Communicator

Nice. Thanks very much.

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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