<?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: What is this query executing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435240#M124128</link>
    <description>&lt;P&gt;This is searching an index and doing 2 extractions, the first one is on raw data and the second one is extracting from &lt;CODE&gt;source&lt;/CODE&gt;. These have no field names&lt;/P&gt;

&lt;P&gt;It's then joining on another search with the common field &lt;CODE&gt;Parameter&lt;/CODE&gt; and doing another extraction. Its than creating a table with the &lt;CODE&gt;Parameter&lt;/CODE&gt; field and I'm assuming the fields that were extracted out. It's then creating a new field called &lt;CODE&gt;message&lt;/CODE&gt; with conditional logic. If it matches then it will give &lt;CODE&gt;message&lt;/CODE&gt; a value of "same" else it gives it a value of "Not Same".  It's then searching for all fields with a &lt;CODE&gt;Parameter&lt;/CODE&gt; field but excluding the values "Model Name", "model name", "model", and "cpu MHz". Lastly, its listing all its values in a table form and only searching where Message="not same"&lt;/P&gt;

&lt;P&gt;No idea for  source="dfw1lvpap415". You should do a quick tstats to see if that lives in your data&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 13:58:10 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2018-06-04T13:58:10Z</dc:date>
    <item>
      <title>What is this query executing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435237#M124125</link>
      <description>&lt;P&gt;Please explain the below query and why the source i.e. source="&lt;EM&gt;dfw1lvpap415&lt;/EM&gt;" is mentioned in the join ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="auto_preprod_sa3_host"  ":" AND ("architecture" OR  "cpu*" OR "CPU(s)" OR "model*" OR "Model*") | rex field=_raw "(?.*)\:\s(?.*\d+|\w+|[a-z0-9#.)-])"   
| rex field=source "/output/(?.*\w\d)\_" | join Parameter [search index="auto_preprod_sa3_host"  ":" AND ("architecture" OR  "cpu*" OR "CPU(s)" OR "model*" OR "Model*") source="*dfw1lvpap415*" 
|rex field=_raw "(?.*)\:\s(?.*\d+|\w+|[a-z0-9#.)])"]     | table  Parameter, abc,def,Server_Name    | eval  Message=if(match(abc,def), "Same","Not Same")      
| search Parameter=*  AND  NOT (Parameter="Model name" OR Parameter="model name " OR Parameter="model       "  OR  Parameter="cpu MHz       ")  | stats  values(abc) AS Realtime_Configurations values(def) AS Reference_Configurations values(Server_Name) AS Server by Parameter Message    
| where  Message="Not Same"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435237#M124125</guid>
      <dc:creator>abhi04</dc:creator>
      <dc:date>2018-06-04T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is this query executing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435238#M124126</link>
      <description>&lt;P&gt;The above query is for CPU configuration comparison.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435238#M124126</guid>
      <dc:creator>abhi04</dc:creator>
      <dc:date>2018-06-04T09:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is this query executing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435239#M124127</link>
      <description>&lt;P&gt;its easier to tell what are you looking to accomplish.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 11:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435239#M124127</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2018-06-04T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is this query executing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435240#M124128</link>
      <description>&lt;P&gt;This is searching an index and doing 2 extractions, the first one is on raw data and the second one is extracting from &lt;CODE&gt;source&lt;/CODE&gt;. These have no field names&lt;/P&gt;

&lt;P&gt;It's then joining on another search with the common field &lt;CODE&gt;Parameter&lt;/CODE&gt; and doing another extraction. Its than creating a table with the &lt;CODE&gt;Parameter&lt;/CODE&gt; field and I'm assuming the fields that were extracted out. It's then creating a new field called &lt;CODE&gt;message&lt;/CODE&gt; with conditional logic. If it matches then it will give &lt;CODE&gt;message&lt;/CODE&gt; a value of "same" else it gives it a value of "Not Same".  It's then searching for all fields with a &lt;CODE&gt;Parameter&lt;/CODE&gt; field but excluding the values "Model Name", "model name", "model", and "cpu MHz". Lastly, its listing all its values in a table form and only searching where Message="not same"&lt;/P&gt;

&lt;P&gt;No idea for  source="dfw1lvpap415". You should do a quick tstats to see if that lives in your data&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 13:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-this-query-executing/m-p/435240#M124128</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-06-04T13:58:10Z</dc:date>
    </item>
  </channel>
</rss>

