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:
<query>|inputlookup stats.csv|stats dc(Sources) as Sources</query>
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.
You could use the search as option value of link
<link target="_blank">search?q=index=_internal | stats count by sourcetype</link>
Please refer here for the syntax and usage : http://docs.splunk.com/Documentation/Splunk/7.1.2/Viz/DrilldownLinkToSearch
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.