<?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 to use a lookup to compare multiple fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451713#M127919</link>
    <description>&lt;PRE&gt;&lt;CODE&gt; index=amazon-aws sourcetype="aws:description" source="*:ec2_instances"  | lookup  tags.csv development_ec2 as  field | where isnull(server)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Aug 2019 06:25:00 GMT</pubDate>
    <dc:creator>nareshinsvu</dc:creator>
    <dc:date>2019-08-16T06:25:00Z</dc:date>
    <item>
      <title>How to use a lookup to compare multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451712#M127918</link>
      <description>&lt;P&gt;I am trying to run a search from amazon.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=amazon-aws sourcetype="aws:description" source="*:ec2_instances" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When we assign tags via AWS, each tag is shown as a field. &lt;/P&gt;

&lt;P&gt;Example tags, Name would be the field and the value would be the friendly name we assign to the server.   &lt;/P&gt;

&lt;P&gt;We require our engineers to apply 8 specific tags.  I am trying to use a lookup table to compare with my search and return only the instances that are missing one of the 8 tags.&lt;BR /&gt;&lt;BR /&gt;
The CSV is tags.csv the field in the CSV is development_ec2.  &lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 19:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451712#M127918</guid>
      <dc:creator>dsmith1988</dc:creator>
      <dc:date>2019-08-15T19:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a lookup to compare multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451713#M127919</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; index=amazon-aws sourcetype="aws:description" source="*:ec2_instances"  | lookup  tags.csv development_ec2 as  field | where isnull(server)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Aug 2019 06:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451713#M127919</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2019-08-16T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a lookup to compare multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451714#M127920</link>
      <description>&lt;P&gt;I am still having problems with this search.   The above, still returns every instance, not just the ones that are missing tags.  Server isnt a field name that AWS add on returns.  I am not sure which field to leverage to make this work.   I tried several and there was either no results are all servers returned.    Apologies as I am very new to SPL and trying to absorb a lot of information quickly.&lt;/P&gt;

&lt;P&gt;Thanks!~&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 15:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-a-lookup-to-compare-multiple-fields/m-p/451714#M127920</guid>
      <dc:creator>dsmith1988</dc:creator>
      <dc:date>2019-08-21T15:04:15Z</dc:date>
    </item>
  </channel>
</rss>

