<?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: How to merge values of the same field extraction? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244201#M72706</link>
    <description>&lt;P&gt;Can we have to some real sample output? What type of values does the field topic contains?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2016 17:17:11 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-10-12T17:17:11Z</dc:date>
    <item>
      <title>How to merge values of the same field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244199#M72704</link>
      <description>&lt;P&gt;I have 4 unique and standard values under one field extraction &lt;STRONG&gt;topic&lt;/STRONG&gt;. I want to combine them into two values and use the output for my tokens in dashboard panels.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;topic   | count
A       | 10
Aa      | 10
B       | 5
bb      | 5
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Required output&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;topic   | count
A       | 20
B       | 10
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244199#M72704</guid>
      <dc:creator>shivarpith</dc:creator>
      <dc:date>2016-10-12T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge values of the same field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244200#M72705</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | stats sum(eval(if(match(topic, "^([A|a])", count, null()) )) as A sum(eval(if(match(topic, "^([B|b])", count, null()) )) as B 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244200#M72705</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-12T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge values of the same field extraction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244201#M72706</link>
      <description>&lt;P&gt;Can we have to some real sample output? What type of values does the field topic contains?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 17:17:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-values-of-the-same-field-extraction/m-p/244201#M72706</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-12T17:17:11Z</dc:date>
    </item>
  </channel>
</rss>

