Dashboards & Visualizations

Use of to replace linkView

seanmcl
New Member

I apologize for the fact that a similar question was already answered but the answer was not clear. I'm porting some older code to 6.6 and link View is deprecated. The old (pseudo) code is:


<search>
<query>|inputlookup stats.csv|stats dc(Sources) as Sources</query>
<earliest>0</earliest>
</search>
<option name="drilldown">all</option>
...
<option name="linkView">search</option>

My question is what should be the correct syntax of the child elements for <drilldown> to achieve the same result? Presumably I would use the <link> element but <link>search</link> is clearly not correct. Again, my apologies for being so dense.

Tags (2)
0 Karma

renjith_nair
Legend

@seanmcl,

You could use the search as option value of link

<drilldown>
    <link target="_blank">search?q=index=_internal | stats count by sourcetype</link>
</drilldown>

Please refer here for the syntax and usage : http://docs.splunk.com/Documentation/Splunk/7.1.2/Viz/DrilldownLinkToSearch

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

seanmcl
New Member

Sorry about the poor formattting. The Markdown documentation was not clear that you needed to mark down every line of code rather than just the block.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...