<?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: Problem with the counting in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105942#M183233</link>
    <description>&lt;P&gt;But i dont know my column names in this case, only "Name" column is fixed but not "1","2","3","4","5", these no can changes month to month, Moreover I dont have to summing up the no. I have to get the count for the number which is more than 0 &lt;/P&gt;

&lt;P&gt;"abc" name is having 2,5 and 18( count is more than 0 ) in the above mentioned details , so against "abc" the total count will be 3 &lt;/P&gt;

&lt;P&gt;Please help&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2013 11:43:28 GMT</pubDate>
    <dc:creator>abhayneilam</dc:creator>
    <dc:date>2013-01-31T11:43:28Z</dc:date>
    <item>
      <title>Problem with the counting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105940#M183231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a data like :&lt;BR /&gt;
Name     1    2     3    4    5&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;abc     0     2     5    0     18&lt;BR /&gt;
def     3     0     10   10    11&lt;BR /&gt;
ghi     0     0      0    7    20&lt;/P&gt;

&lt;P&gt;Now, I have 6 columns as "Name" , 1, 2, 3,4,5&lt;BR /&gt;
I want my output as : &lt;/P&gt;

&lt;P&gt;abc  3  ---&amp;gt; 3 becaue there are total of 3 more than 0 number against "abc" name&lt;BR /&gt;
def  4  ---&amp;gt; 4 becaue there are total of 4 more than 0 number against "def" name&lt;BR /&gt;
ghi  2  ---&amp;gt; 2 becaue there are total of 2 more than 0 number against "ghi" name&lt;/P&gt;

&lt;P&gt;Please help in getting this thing done.&lt;/P&gt;

&lt;P&gt;Thanks in advance !!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105940#M183231</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2013-01-31T11:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the counting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105941#M183232</link>
      <description>&lt;P&gt;Here's a thought: Replace every non-zero number with a one, then sum up all columns.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105941#M183232</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-01-31T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the counting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105942#M183233</link>
      <description>&lt;P&gt;But i dont know my column names in this case, only "Name" column is fixed but not "1","2","3","4","5", these no can changes month to month, Moreover I dont have to summing up the no. I have to get the count for the number which is more than 0 &lt;/P&gt;

&lt;P&gt;"abc" name is having 2,5 and 18( count is more than 0 ) in the above mentioned details , so against "abc" the total count will be 3 &lt;/P&gt;

&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:43:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105942#M183233</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2013-01-31T11:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the counting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105943#M183234</link>
      <description>&lt;P&gt;Could you please stop ending all your posts with "please help"? &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 11:47:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105943#M183234</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-31T11:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the counting</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105944#M183235</link>
      <description>&lt;P&gt;Not knowing the column names is no problem, addtotals will add together a total of all numerical columns.&lt;/P&gt;

&lt;P&gt;All you'd have to do for that to work is to get the cells as either 1 or 0.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 17:09:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-the-counting/m-p/105944#M183235</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-01-31T17:09:40Z</dc:date>
    </item>
  </channel>
</rss>

