<?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 I compare multivalued fields over time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29817#M6038</link>
    <description>&lt;P&gt;It's definitely some tricky country you're getting into but I would look at the mvexpand command.  I feel like there's a way to mvexpand the port field and then just use dedup and/or stats to get your answer.   I'll try and write more if i have another free moment.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2011 07:38:15 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2011-01-21T07:38:15Z</dc:date>
    <item>
      <title>How I compare multivalued fields over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29816#M6037</link>
      <description>&lt;P&gt;I perform a search that has results like the following where dest_port is a multivalued field:&lt;/P&gt;

&lt;P&gt;There are three fields in the results:  _time, dest_ip, and dest_port.  The results look like:&lt;/P&gt;

&lt;P&gt;1/1/11, 192.168.2.200, 80 139 445 8000 9997  (the dest_port field is multivalued)&lt;/P&gt;

&lt;P&gt;1/8/11, 192.168.2.200, 22 443 139 445 9997&lt;/P&gt;

&lt;P&gt;So, in this example, after one week, ports 80 and 8000 were not present in the results and ports 443 and 22 newly appeared.&lt;/P&gt;

&lt;P&gt;How do I write a search that will list the ports that are present in the first event but not the second?  How do I write a search that will list the ports that are present in the second event and not in the first event?&lt;/P&gt;

&lt;P&gt;The search results will contain multiple events, so I don't think the diff command will work since you have to statically define pos1 and pos2.  I can use the dedup command to ensure that only the two most recent events for each host are present in the search results, but I don't know how to compare the contents of the multi-value dest_port field by dest_ip.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 04:48:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29816#M6037</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-01-21T04:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: How I compare multivalued fields over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29817#M6038</link>
      <description>&lt;P&gt;It's definitely some tricky country you're getting into but I would look at the mvexpand command.  I feel like there's a way to mvexpand the port field and then just use dedup and/or stats to get your answer.   I'll try and write more if i have another free moment.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 07:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29817#M6038</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-01-21T07:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: How I compare multivalued fields over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29818#M6039</link>
      <description>&lt;P&gt;Thanks, Nick.  I appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 07:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29818#M6039</guid>
      <dc:creator>jambajuice</dc:creator>
      <dc:date>2011-01-21T07:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How I compare multivalued fields over time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29819#M6040</link>
      <description>&lt;P&gt;I believe your answer is here:
&lt;A href="http://answers.splunk.com/questions/11287/comparing-multivalue-fields" rel="nofollow"&gt;http://answers.splunk.com/questions/11287/comparing-multivalue-fields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2011 11:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-I-compare-multivalued-fields-over-time/m-p/29819#M6040</guid>
      <dc:creator>Ron_Naken</dc:creator>
      <dc:date>2011-02-04T11:38:48Z</dc:date>
    </item>
  </channel>
</rss>

