<?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: Add drilldown and get fieldname from trellis layout in splunk in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632437#M51833</link>
    <description>&lt;P&gt;Use $trellis.name$ for name and value for value.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Viz/VisualizationTrellis#Predefined_tokens_for_trellis_split_fields" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/Viz/VisualizationTrellis#Predefined_tokens_for_trellis_split_fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 22:38:25 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-02-27T22:38:25Z</dc:date>
    <item>
      <title>Add drilldown and get fieldname from trellis layout in splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632387#M51832</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I am working on the dashboard which makes use of trellis layout. Below is the query I am using :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="_internal" sourcetype="test" source="*test.log*" 
| rename host as ipaddress
| join ipaddress
[ |inputlookup activemachines.csv
| fields ipaddress]
| stats dc(ipaddress) as instances_sentinel_installed
| appendcols
[ |inputlookup activemachines.csv
| stats count(ipaddress) as total_machines ]
| eval Percent=round((instances_sentinel_installed/total_machines)*100,2)
| rename total_machines as "Total Active Machines" instances_sentinel_installed as "Instances with Sentinel Installed"
| table "Total Active Machines" "Instances with Sentinel Installed" Percent&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The trellis layout looks like I have shared in screenshot.&lt;BR /&gt;2129 is "Total Active Machines"&lt;BR /&gt;502 is "Instances with Sentinel Installed"&lt;BR /&gt;24 is Percentage&lt;BR /&gt;&lt;BR /&gt;I have to use field name on click of the trellis. ex : If I click on 2129 I should get this "Total Active Machines" fieldname and this one I am using in the custom link.&lt;BR /&gt;&lt;BR /&gt;I tried this and few more like click.name, click.name2, click.value and so.&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;set token="tokName"&amp;gt;$trellis.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;link target="_blank"&amp;gt;search?asdasdasd$tokName$&amp;amp;amp;earliest=-60m%40m&amp;amp;amp;latest=now&amp;lt;/link&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;BR /&gt;With trellis.value, I am getting field value i.e 2129 but I want fieldname.&lt;BR /&gt;&lt;BR /&gt;Please anyone help me on this. I appreciate your response.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;NVP&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632387#M51832</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2023-02-28T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add drilldown and get fieldname from trellis layout in splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632437#M51833</link>
      <description>&lt;P&gt;Use $trellis.name$ for name and value for value.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.2/Viz/VisualizationTrellis#Predefined_tokens_for_trellis_split_fields" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.2/Viz/VisualizationTrellis#Predefined_tokens_for_trellis_split_fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 22:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632437#M51833</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-02-27T22:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add drilldown and get fieldname from trellis layout in splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632484#M51836</link>
      <description>&lt;P&gt;I tried that still not getting fieldname , instead am getting&amp;nbsp; as "result "&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 06:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632484#M51836</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2023-02-28T06:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add drilldown and get fieldname from trellis layout in splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632493#M51840</link>
      <description>&lt;P&gt;Mmm, I am also having some strange results with trellis tokens...&lt;/P&gt;&lt;P&gt;I am not a big fan of trellis - I prefer using Chris Younger's number viz, which does trellis on its own and is really customisable.&lt;/P&gt;&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/4537" target="_blank"&gt;https://splunkbase.splunk.com/app/4537&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 07:34:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-drilldown-and-get-fieldname-from-trellis-layout-in-splunk/m-p/632493#M51840</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-02-28T07:34:45Z</dc:date>
    </item>
  </channel>
</rss>

