<?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 Combining values across multiple fields in an event in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21706#M3594</link>
    <description>&lt;P&gt;I've got a bunch of similar fields in my events.  I've got fields named term0-9 and I'd like to create a chart that shows the top terms across all those fields.&lt;/P&gt;

&lt;P&gt;For example, if I have an event where term0="First+Term" and term1="Second+Term"&lt;/P&gt;

&lt;PRE&gt;
Event #    term0    term1     term2
-------    -----    -----     -----
1          Bob      Mary      John
2          Mary     Jake      Tim
3          Bill     Tom       Sally
4          Sam      Sally     Mary
&lt;/PRE&gt;

&lt;P&gt;I'd like to output a chart that shows:&lt;/P&gt;

&lt;PRE&gt;
Term           Searches
----           --------
Mary           3
Sally          2
Bob            1
John           1
Jake           1
Tim            1
Bill           1
Tom            1
etc .......
&lt;/PRE&gt;

&lt;P&gt;Is this possible.  If I just combine the fields into one and group based on that, then the order of the search term becomes significant and I don't want it to be.&lt;/P&gt;

&lt;P&gt;Anyone have any ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2011 23:34:49 GMT</pubDate>
    <dc:creator>jstockamp</dc:creator>
    <dc:date>2011-06-02T23:34:49Z</dc:date>
    <item>
      <title>Combining values across multiple fields in an event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21706#M3594</link>
      <description>&lt;P&gt;I've got a bunch of similar fields in my events.  I've got fields named term0-9 and I'd like to create a chart that shows the top terms across all those fields.&lt;/P&gt;

&lt;P&gt;For example, if I have an event where term0="First+Term" and term1="Second+Term"&lt;/P&gt;

&lt;PRE&gt;
Event #    term0    term1     term2
-------    -----    -----     -----
1          Bob      Mary      John
2          Mary     Jake      Tim
3          Bill     Tom       Sally
4          Sam      Sally     Mary
&lt;/PRE&gt;

&lt;P&gt;I'd like to output a chart that shows:&lt;/P&gt;

&lt;PRE&gt;
Term           Searches
----           --------
Mary           3
Sally          2
Bob            1
John           1
Jake           1
Tim            1
Bill           1
Tom            1
etc .......
&lt;/PRE&gt;

&lt;P&gt;Is this possible.  If I just combine the fields into one and group based on that, then the order of the search term becomes significant and I don't want it to be.&lt;/P&gt;

&lt;P&gt;Anyone have any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 23:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21706#M3594</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-06-02T23:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Combining values across multiple fields in an event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21707#M3595</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;you can achieve your objective using top command and count by command&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 06:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21707#M3595</guid>
      <dc:creator>mkashif</dc:creator>
      <dc:date>2011-06-03T06:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combining values across multiple fields in an event</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21708#M3596</link>
      <description>&lt;P&gt;Care to give a little more details on your suggestion?  How do I do this across multiple fields?&lt;/P&gt;

&lt;P&gt;I can do&lt;/P&gt;

&lt;P&gt;top 20 term0&lt;/P&gt;

&lt;P&gt;but I don't know how to have it evaluate multiple fields.  Thoughts?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 14:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Combining-values-across-multiple-fields-in-an-event/m-p/21708#M3596</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-06-03T14:48:19Z</dc:date>
    </item>
  </channel>
</rss>

