<?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: Multiple value for the same field in one event.How to determine statistics in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490637#M141066</link>
    <description>&lt;P&gt;can you post your query?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 15:08:55 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-03-11T15:08:55Z</dc:date>
    <item>
      <title>Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490634#M141063</link>
      <description>&lt;P&gt;I have an event having 3 errors..&lt;BR /&gt;I have a regular expression written to capture the error as "ERROR".&lt;BR /&gt;And now i have a lookup file and I input the ERROR value and output Comments for the respective error.&lt;/P&gt;
&lt;P&gt;I do not have issues when there is just one value for ERROR field in one event(i.e., if there is only one error in a event)&lt;BR /&gt;But when there are more than one error,then i get the result as below.&lt;BR /&gt;Kindly help..&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 18:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490634#M141063</guid>
      <dc:creator>prettysunshinez</dc:creator>
      <dc:date>2020-06-18T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490635#M141064</link>
      <description>&lt;P&gt;"ERROR" field is multivalue?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 13:38:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490635#M141064</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-11T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490636#M141065</link>
      <description>&lt;P&gt;Single value only&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 14:43:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490636#M141065</guid>
      <dc:creator>prettysunshinez</dc:creator>
      <dc:date>2020-03-11T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490637#M141066</link>
      <description>&lt;P&gt;can you post your query?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 15:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490637#M141066</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-11T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490638#M141067</link>
      <description>&lt;P&gt;index= |(regular expression to catch the error from the logs as ERROR) | lookup  abc.csv ERROR output Comments |stats count by Comments&lt;/P&gt;

&lt;P&gt;abc.csv:&lt;BR /&gt;
ERROR   Comments&lt;BR /&gt;
Error1    abc&lt;BR /&gt;
Error2    abc&lt;BR /&gt;
Error3    bcd&lt;BR /&gt;
Error4    bed&lt;BR /&gt;
Error5    abc&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:02:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490638#M141067</guid>
      <dc:creator>prettysunshinez</dc:creator>
      <dc:date>2020-03-11T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490639#M141068</link>
      <description>&lt;P&gt;Regular followed by max_match=0..&lt;BR /&gt;
In order to capture all the occurences of ERROR&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 18:02:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490639#M141068</guid>
      <dc:creator>prettysunshinez</dc:creator>
      <dc:date>2020-03-11T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490640#M141069</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=your_index 
|(regular expression to catch the error from the logs as ERROR) 
| stats count by ERROR
| lookup abc.csv ERROR output Comments 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I see, this query excludes same &lt;CODE&gt;ERROR&lt;/CODE&gt; &lt;BR /&gt;
How about this?&lt;/P&gt;

&lt;P&gt;In your last comment, &lt;CODE&gt;|stats count by Comments&lt;/CODE&gt;&lt;BR /&gt;
This result is following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Comments count
abc  3
bcd  1
....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This result is not your &lt;STRONG&gt;first&lt;/STRONG&gt; expect result.&lt;BR /&gt;
Which do you want?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 20:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490640#M141069</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-11T20:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490641#M141070</link>
      <description>&lt;P&gt;Am sorry I missed it..&lt;BR /&gt;
I get the error also as part of output from lookup file..and i do statistics count and values based on ERROR..&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 06:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490641#M141070</guid>
      <dc:creator>prettysunshinez</dc:creator>
      <dc:date>2020-03-12T06:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490642#M141071</link>
      <description>&lt;P&gt;What you are describing is not possible unless you have a &lt;CODE&gt;Lookup Definition&lt;/CODE&gt; with some extra settings in it.  It is pointless to continue without you spelling out everything including at least 2 lines of your &lt;CODE&gt;Lookup File&lt;/CODE&gt; and your search &lt;CODE&gt;SPL&lt;/CODE&gt; and your &lt;CODE&gt;Lookup Definition&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 20:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490642#M141071</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-14T20:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490643#M141072</link>
      <description>&lt;P&gt;Expand ERROR values before lookup command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index= |(regular expression to catch the error from the logs as ERROR) | mvexpand ERROR | lookup abc.csv ERROR output Comments |stats count by Comments
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Mar 2020 10:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490643#M141072</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-16T10:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490644#M141073</link>
      <description>&lt;P&gt;Why are you being so vauge?  Show us ALL of your search!  The &lt;CODE&gt;rex&lt;/CODE&gt; part is probably THE MOST IMPORTANT PART and yet you stripped it!?!?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 18:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490644#M141073</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-22T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple value for the same field in one event.How to determine statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490645#M141074</link>
      <description>&lt;P&gt;SHOW US THE FULL SEARCH SPL and a few sample events.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 18:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiple-value-for-the-same-field-in-one-event-How-to-determine/m-p/490645#M141074</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-03-22T18:44:38Z</dc:date>
    </item>
  </channel>
</rss>

