<?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: Crossing multivalued fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55002#M13420</link>
    <description>&lt;P&gt;Exactly what I wanted ! Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2010 02:48:24 GMT</pubDate>
    <dc:creator>Caio_Santos</dc:creator>
    <dc:date>2010-09-22T02:48:24Z</dc:date>
    <item>
      <title>Crossing multivalued fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55000#M13418</link>
      <description>&lt;P&gt;Got the following:
One field with 4 types of values/functions and another field that is the status of those functions such as INFO or ERROR.&lt;/P&gt;

&lt;P&gt;I would like to cross this information to see each function how many ERROS or INFOs those got.
I was wondering if I could do this task with &lt;CODE&gt;stats&lt;/CODE&gt;, but the search command bellow is so far what i could get.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="websphere_index" sourcetype="portoprint-app-*"
| rex "(?m)^\[.*\]\[.*\]\s+?(?&amp;lt;WEB_STATUS&amp;gt;([A-Z]+))\s+?[\w\.]+\s+?\[.*\]\s+?\w+\(\)"
| rex "(?m)^\[.*\]\[.*\]\s[A-Z]+(\s+?|\S+?).*\1\[.*\]\s(?&amp;lt;WEBSPHERE_FUNCTION&amp;gt;(\w+\(\)))"
| stats count(WEB_STATUS) by WEBSPHERE_FUNCTION
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2010 00:55:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55000#M13418</guid>
      <dc:creator>Caio_Santos</dc:creator>
      <dc:date>2010-09-22T00:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing multivalued fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55001#M13419</link>
      <description>&lt;P&gt;Instead of &lt;CODE&gt;stats&lt;/CODE&gt;, try chart, like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | chart count by WEBSPHERE_FUNCTION WEB_STATUS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or you could do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count by WEBSPHERE_FUNCTION WEB_STATUS
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Sep 2010 02:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55001#M13419</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-09-22T02:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Crossing multivalued fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55002#M13420</link>
      <description>&lt;P&gt;Exactly what I wanted ! Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2010 02:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Crossing-multivalued-fields/m-p/55002#M13420</guid>
      <dc:creator>Caio_Santos</dc:creator>
      <dc:date>2010-09-22T02:48:24Z</dc:date>
    </item>
  </channel>
</rss>

