<?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: Filter Multiple Event Results Into A Single Value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313831#M160918</link>
    <description>&lt;P&gt;Or do you want to count for each caseId?&lt;BR /&gt;
so you get a list like:&lt;BR /&gt;
caseId1 count=2&lt;BR /&gt;
caseId2 count=1&lt;BR /&gt;
caseId3 count=5&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by caseId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 May 2017 20:54:59 GMT</pubDate>
    <dc:creator>lukas_loder</dc:creator>
    <dc:date>2017-05-29T20:54:59Z</dc:date>
    <item>
      <title>Filter Multiple Event Results Into A Single Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313829#M160916</link>
      <description>&lt;P&gt;I would like to return the value of a string only once even if it shows up multiple times in splunk. For example:&lt;/P&gt;

&lt;P&gt;"rscprod" "rscapirequestresponse" "caseId"// : //"2209102486"&lt;/P&gt;

&lt;P&gt;The search above returns multiple 200+ events, I would like my search to research count = 1 for &amp;lt;"caseId"// : //"2209102486"&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 19:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313829#M160916</guid>
      <dc:creator>dunsha</dc:creator>
      <dc:date>2017-05-29T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Multiple Event Results Into A Single Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313830#M160917</link>
      <description>&lt;P&gt;hope i understand you correctly,&lt;BR /&gt;
try: &lt;CODE&gt;your search for string here | head 1&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 20:01:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313830#M160917</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-29T20:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Multiple Event Results Into A Single Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313831#M160918</link>
      <description>&lt;P&gt;Or do you want to count for each caseId?&lt;BR /&gt;
so you get a list like:&lt;BR /&gt;
caseId1 count=2&lt;BR /&gt;
caseId2 count=1&lt;BR /&gt;
caseId3 count=5&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by caseId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 May 2017 20:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313831#M160918</guid>
      <dc:creator>lukas_loder</dc:creator>
      <dc:date>2017-05-29T20:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Multiple Event Results Into A Single Value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313832#M160919</link>
      <description>&lt;P&gt;You could use dedup on the caseId field, provided it is being extracted:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YOUR BASE SEARCH]
| dedup caseId
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 May 2017 01:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-Multiple-Event-Results-Into-A-Single-Value/m-p/313832#M160919</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-05-30T01:12:40Z</dc:date>
    </item>
  </channel>
</rss>

