<?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: Issue with appendcols in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193435#M19892</link>
    <description>&lt;P&gt;Can you try with construct?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|multisearch [search index=hpov eph " error " AND (tag="EPH_SVR") | eval Type="Error" ] [search index=hpov eph " exception " AND (tag="EPH_SVR")| eval Type="exception"] [search index=hpov eph " EXCEPTION " AND (tag="EPH_SVR") |eval Type="EXCEPTION"] | chart count by Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;2nd Update:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hpov eph " error " AND (tag="EPH_SVR") | eval Type="Error" | eval counter=1 | appendpipe [|stats count | eval counter=0 | eval Type="Error"| where count=0] | append [search index=hpov eph " exception " AND (tag="EPH_SVR")| eval Type="exception"|eval counter=1| appendpipe[|stats count | eval counter=0 | eval Type="exception"| where count=0]] | append [search index=hpov eph " EXCEPTION " AND (tag="EPH_SVR") |eval Type="EXCEPTION"|eval counter=1| appendpipe[|stats count | eval counter=0|eval Type="EXCEPTION"| where count=0]] | chart sum(counter) as count by Type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Jun 2014 20:55:48 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-06-09T20:55:48Z</dc:date>
    <item>
      <title>Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193434#M19891</link>
      <description>&lt;P&gt;So, I have the following code which searches for two types of errors and creates a bar graph showing how many times each one occurs. Very simple.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hpov eph " error " AND (tag="EPH_SVR") | eval ReasonForFailure="" | chart count as error by ReasonForFailure |  appendcols [search index=hpov eph " exception " AND (tag="EPH_SVR")| stats count as exception] |  appendcols [search index=hpov eph " EXCEPTION " AND (tag="EPH_SVR") | stats count as exception]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, when I click on the second bar so I can see which events it consists of, the search instead brings up that of the first bar. I'm not sure why this is occurring. Is the "eval" somehow linking them??&lt;/P&gt;

&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 20:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193434#M19891</guid>
      <dc:creator>edschembor</dc:creator>
      <dc:date>2014-06-09T20:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193435#M19892</link>
      <description>&lt;P&gt;Can you try with construct?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|multisearch [search index=hpov eph " error " AND (tag="EPH_SVR") | eval Type="Error" ] [search index=hpov eph " exception " AND (tag="EPH_SVR")| eval Type="exception"] [search index=hpov eph " EXCEPTION " AND (tag="EPH_SVR") |eval Type="EXCEPTION"] | chart count by Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;2nd Update:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hpov eph " error " AND (tag="EPH_SVR") | eval Type="Error" | eval counter=1 | appendpipe [|stats count | eval counter=0 | eval Type="Error"| where count=0] | append [search index=hpov eph " exception " AND (tag="EPH_SVR")| eval Type="exception"|eval counter=1| appendpipe[|stats count | eval counter=0 | eval Type="exception"| where count=0]] | append [search index=hpov eph " EXCEPTION " AND (tag="EPH_SVR") |eval Type="EXCEPTION"|eval counter=1| appendpipe[|stats count | eval counter=0|eval Type="EXCEPTION"| where count=0]] | chart sum(counter) as count by Type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Jun 2014 20:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193435#M19892</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-09T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193436#M19893</link>
      <description>&lt;P&gt;Yes thank you!! However, is there a way to still show non-zero results and the item categories on the side like it would with appendcol?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2014 21:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193436#M19893</guid>
      <dc:creator>edschembor</dc:creator>
      <dc:date>2014-06-09T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193437#M19894</link>
      <description>&lt;P&gt;The update didn't actually fix anything. If I click on the exception bar on the graph, it does a search and shows events with errors, not with exceptions. It still only searches for the first search. Without the update was better&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 12:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193437#M19894</guid>
      <dc:creator>edschembor</dc:creator>
      <dc:date>2014-06-10T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193438#M19895</link>
      <description>&lt;P&gt;Try the 2nd Update.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 13:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193438#M19895</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-10T13:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193439#M19896</link>
      <description>&lt;P&gt;Still the same. If I click on the exception bar, it brings up events with errors, not exceptions&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 13:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193439#M19896</guid>
      <dc:creator>edschembor</dc:creator>
      <dc:date>2014-06-11T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with appendcols</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193440#M19897</link>
      <description>&lt;P&gt;Anything I add for showing zero-count results is causing drilldown to fail (default drilldown). This one shows zero-count results and drilldown works too, but in the output bar chart, you need to 'stack' the bars.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=hpov eph  AND (tag="EPH_SVR") (" error " OR  " exception " OR " EXCEPTION "  | eval test=1| eval Type=case(like(_raw,"% error %"),"Error",like(_raw,"% exception %"),"exception",like(_raw,"% EXCEPTION %"),"EXCEPTION") | stats count(eval(Type="Error")) as CountError count(eval(Type="exception")) as CountWarning count(eval(Type="EXCEPTION")) as CountInfo by Type
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Issue-with-appendcols/m-p/193440#M19897</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-06-11T15:31:50Z</dc:date>
    </item>
  </channel>
</rss>

