<?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 do you compare multiple related fields in one search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-multiple-related-fields-in-one-search/m-p/82667#M20989</link>
    <description>&lt;P&gt;Yes, if I understand properly.&lt;/P&gt;

&lt;P&gt;Join all events about a single node with a transaction, then each transaction will have all the values.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   ...| transaction some_node_id_field ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;from there, there are many things you can do -- compare particular nodes like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | diff pos1=1 pos2=2 enables
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;get top combinations...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | top audit, enables
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cluster nodes to similar nodes...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | cluster
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Jan 2011 04:48:26 GMT</pubDate>
    <dc:creator>carasso</dc:creator>
    <dc:date>2011-01-11T04:48:26Z</dc:date>
    <item>
      <title>How do you compare multiple related fields in one search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-multiple-related-fields-in-one-search/m-p/82666#M20988</link>
      <description>&lt;P&gt;I'd like to compare the configuration of several nodes using a single search.
Each node has multiple keys expressed as one key value pair per event i.e.&lt;/P&gt;

&lt;P&gt;timestamp audit=true&lt;BR /&gt;
timestamp enabled=true&lt;/P&gt;

&lt;P&gt;Is there a way to compare all the keys against each other and report deltas?&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;BLOCKQUOTE&gt;
    &lt;P&gt;I've updated the quested to ensure it's correctly formatted.&lt;/P&gt;
  &lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 03 Nov 2010 19:55:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-multiple-related-fields-in-one-search/m-p/82666#M20988</guid>
      <dc:creator>Marinus</dc:creator>
      <dc:date>2010-11-03T19:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you compare multiple related fields in one search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-multiple-related-fields-in-one-search/m-p/82667#M20989</link>
      <description>&lt;P&gt;Yes, if I understand properly.&lt;/P&gt;

&lt;P&gt;Join all events about a single node with a transaction, then each transaction will have all the values.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   ...| transaction some_node_id_field ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;from there, there are many things you can do -- compare particular nodes like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | diff pos1=1 pos2=2 enables
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;get top combinations...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | top audit, enables
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cluster nodes to similar nodes...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | cluster
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jan 2011 04:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-compare-multiple-related-fields-in-one-search/m-p/82667#M20989</guid>
      <dc:creator>carasso</dc:creator>
      <dc:date>2011-01-11T04:48:26Z</dc:date>
    </item>
  </channel>
</rss>

