<?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: Statistical Count from a lookup Table in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382377#M6054</link>
    <description>&lt;P&gt;What are the subjects where the BEST count is less than 5 ?&lt;BR /&gt;
i.e. What are those subjects' names where only 5 or less students perform as BEST. &lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 14:35:38 GMT</pubDate>
    <dc:creator>zacksoft</dc:creator>
    <dc:date>2019-05-20T14:35:38Z</dc:date>
    <item>
      <title>Statistical Count from a lookup Table</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382374#M6051</link>
      <description>&lt;P&gt;I have a  look up csv file added, which looks like this,&lt;BR /&gt;
The header contains subject names and student name, and then subsequent rows contain performances for each pupil&lt;/P&gt;

&lt;P&gt;MATH   ENGLISH  NAME   SCIENCE&lt;BR /&gt;
good      bad           Timmy    best&lt;BR /&gt;
good      good         John        better &lt;BR /&gt;
better    bad           Alek         good&lt;BR /&gt;&lt;BR /&gt;
good      bad           Priya        good&lt;BR /&gt;
beter      best         Arun         best&lt;/P&gt;

&lt;P&gt;The above table means Timmy is 'good' at MATH, 'bad' at ENGLISH and 'best' at SCIENCE.&lt;BR /&gt;
SImilarly John is 'good' at MATH and ENGLISH and 'bad' at SCIENCE.&lt;BR /&gt;
etc...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I want to know how many kids are good, bad and best at each subject.&lt;/STRONG&gt;&lt;BR /&gt;
in stats table and if possible in a visualization.&lt;/P&gt;

&lt;P&gt;e.g.  3 kids are good at MATH(Timmy, JOHN , Priya)&lt;BR /&gt;
2 kids are best at SCIENCE (Timmy, Arun)&lt;/P&gt;

&lt;P&gt;My query starts like,&lt;BR /&gt;
| inputlookup  marks.csv&lt;BR /&gt;
| stats ........&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382374#M6051</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-05-20T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical Count from a lookup Table</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382375#M6052</link>
      <description>&lt;P&gt;Is it something you looking for?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup marks.csv
| stats values(NAME) as students, count by ENGLISH
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if yes, you can expand to other subjects&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 13:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382375#M6052</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-20T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical Count from a lookup Table</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382376#M6053</link>
      <description>&lt;P&gt;It is counting the header name too . How do I exclude that?&lt;BR /&gt;
Also, I have a lot of subjects, more than 50, how can I see them all in one query ? Is it possible..&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 14:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382376#M6053</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-05-20T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical Count from a lookup Table</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382377#M6054</link>
      <description>&lt;P&gt;What are the subjects where the BEST count is less than 5 ?&lt;BR /&gt;
i.e. What are those subjects' names where only 5 or less students perform as BEST. &lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 14:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382377#M6054</guid>
      <dc:creator>zacksoft</dc:creator>
      <dc:date>2019-05-20T14:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Statistical Count from a lookup Table</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382378#M6055</link>
      <description>&lt;P&gt;Here you go&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup marks.csv
| table NAME *
| untable NAME subject grade
| chart count over subject by grade
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 May 2019 16:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Statistical-Count-from-a-lookup-Table/m-p/382378#M6055</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-05-20T16:06:07Z</dc:date>
    </item>
  </channel>
</rss>

