<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Inside drilldown tags -  how to apply transformative operations on set tags - &amp;lt;set&amp;gt; in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671204#M11290</link>
    <description>&lt;P&gt;You can do some great stuff with eval in drilldown, but be mindful that there are some bugs with using more than one multivalue eval statements, e.g. this one fails&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;eval token="k1"&amp;gt;mvindex($row.key$, mvfind($row.name$, $click.value2$))&amp;lt;/eval&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;as it fails trying to call mvindex with the result of the mvfind.&lt;/P&gt;&lt;P&gt;Note also that the first element is element 0, not 1 if that was your intention.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 00:07:45 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-12-08T00:07:45Z</dc:date>
    <item>
      <title>Inside drilldown tags -  how to apply transformative operations on set tags - &lt;set&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671186#M11288</link>
      <description>&lt;P&gt;Can you apply transformative operations inside set tags from drilldown tags?&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;PRE&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt; &amp;lt;set token="form.builds_tk"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to take the value captured from click value, split it (or regex), then use the first value.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;PRE&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt; &amp;lt;set token="form.builds_tk"&amp;gt;mvindex(split("$click.value$", "-"), 1)&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 19:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671186#M11288</guid>
      <dc:creator>GaryZ</dc:creator>
      <dc:date>2023-12-07T19:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inside drilldown tags -  how to apply transformative operations on set tags - &lt;set&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671190#M11289</link>
      <description>&lt;P&gt;Rather than using set use eval - try it like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;drilldown&amp;gt;
 &amp;lt;eval token="form.builds_tk"&amp;gt;mvindex(split("$click.value$", "-"), 1)&amp;lt;/eval&amp;gt;
&amp;lt;/drilldown&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Dec 2023 19:43:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671190#M11289</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-12-07T19:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inside drilldown tags -  how to apply transformative operations on set tags - &lt;set&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671204#M11290</link>
      <description>&lt;P&gt;You can do some great stuff with eval in drilldown, but be mindful that there are some bugs with using more than one multivalue eval statements, e.g. this one fails&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;eval token="k1"&amp;gt;mvindex($row.key$, mvfind($row.name$, $click.value2$))&amp;lt;/eval&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;as it fails trying to call mvindex with the result of the mvfind.&lt;/P&gt;&lt;P&gt;Note also that the first element is element 0, not 1 if that was your intention.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 00:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671204#M11290</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-12-08T00:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Inside drilldown tags -  how to apply transformative operations on set tags - &lt;set&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671206#M11291</link>
      <description>&lt;P&gt;Awesome.... That worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 00:54:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671206#M11291</guid>
      <dc:creator>GaryZ</dc:creator>
      <dc:date>2023-12-08T00:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Inside drilldown tags -  how to apply transformative operations on set tags - &lt;set&gt;</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671207#M11292</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;You are correct. &amp;nbsp;I did have to change my index to point at 0 instead of 1&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 00:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Inside-drilldown-tags-how-to-apply-transformative-operations-on/m-p/671207#M11292</guid>
      <dc:creator>GaryZ</dc:creator>
      <dc:date>2023-12-08T00:56:20Z</dc:date>
    </item>
  </channel>
</rss>

