<?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: Drilldown chart - How to rename  $click.value2$  based on the conditions in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463859#M45552</link>
    <description>&lt;P&gt;There might be a more complex answer that works too, but have you considered just splitting severity and classification into two things? Severity = MINOR, Classification = AMBARI? Then, when you click it, you don't have to worry about this.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 15:37:59 GMT</pubDate>
    <dc:creator>aberkow</dc:creator>
    <dc:date>2019-12-10T15:37:59Z</dc:date>
    <item>
      <title>Drilldown chart - How to rename  $click.value2$  based on the conditions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463858#M45551</link>
      <description>&lt;P&gt;For the below query when I click on the graph, it should drill down based on the severity condition.&lt;/P&gt;

&lt;P&gt;if  $click.value2$ is CRITICAL(Ambari) then i want to rename the filed as CRITICAL&lt;BR /&gt;
if  $click.value2$ is MAJOR(Ambari) then i want to rename the filed as MAJOR&lt;BR /&gt;
if  $click.value2$ is MINOR(Ambari) then i want to rename the filed as MINOR&lt;BR /&gt;
if  $click.value2$ is CRITICAL(infra) then i want to rename the filed as CRITICAL&lt;BR /&gt;
if  $click.value2$ is MAJOR(infra) then i want to rename the filed as MAJOR&lt;BR /&gt;
if  $click.value2$ is MINOR(infra) then i want to rename the filed as MINOR&lt;/P&gt;

&lt;P&gt;so the SEVERITY will be updated as CRITICAL or MINOR or MAJOR&lt;/P&gt;

&lt;P&gt;DRILLDOWN QUERY:&lt;/P&gt;

&lt;P&gt;index=alrsm sourcetype=source APPLICATION=Hadoop OR APPLICATION=&lt;EM&gt;Unix&lt;/EM&gt; MANAGER_NAME=prdehdp* &lt;BR /&gt;
SEVERITY=CRITICAL&lt;BR /&gt;
| eval SEV=case(APPLICATION="Hadoop" AND SEVERITY="CRITICAL", "CRITICAL(Ambari)", &lt;BR /&gt;
                APPLICATION="Hadoop" AND SEVERITY="MINOR", "MINOR(Ambari)", &lt;BR /&gt;
                APPLICATION="Hadoop" AND SEVERITY="MAJOR", "MAJOR(Ambari)",&lt;BR /&gt;
                APPLICATION="Unix" AND SEVERITY="CRITICAL", "CRITICAL(Infra)",&lt;BR /&gt;
                APPLICATION="Unix" AND SEVERITY="MINOR", "MINOR(Infra)",&lt;BR /&gt;
                APPLICATION="Unix" AND SEVERITY="MAJOR", "MAJOR(Infra)")&lt;BR /&gt;&lt;BR /&gt;
               |rename NETWORKELEMENTCODE as SERVER_NAME, AMONAME as SHORT_DESCRIPTION, SEV as SEVERITY | stats COUNT by SERVER_NAME SHORT_DESCRIPTION DESCRIPTION SEVERITY&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463858#M45551</guid>
      <dc:creator>kavyaka03</dc:creator>
      <dc:date>2020-09-30T03:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart - How to rename  $click.value2$  based on the conditions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463859#M45552</link>
      <description>&lt;P&gt;There might be a more complex answer that works too, but have you considered just splitting severity and classification into two things? Severity = MINOR, Classification = AMBARI? Then, when you click it, you don't have to worry about this.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 15:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463859#M45552</guid>
      <dc:creator>aberkow</dc:creator>
      <dc:date>2019-12-10T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart - How to rename  $click.value2$  based on the conditions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463860#M45553</link>
      <description>&lt;P&gt;Can we  rename the  $click.value2$ based on the condition of the clicked value ? &lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 09:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463860#M45553</guid>
      <dc:creator>kavyaka03</dc:creator>
      <dc:date>2019-12-11T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Drilldown chart - How to rename  $click.value2$  based on the conditions</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463861#M45554</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;If possible, can you post your xml code?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 09:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Drilldown-chart-How-to-rename-click-value2-based-on-the/m-p/463861#M45554</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-12-11T09:42:04Z</dc:date>
    </item>
  </channel>
</rss>

