<?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: Disable automatic lookups for a search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466275#M191806</link>
    <description>&lt;P&gt;That's an idea. I don't think our admins would go for that though. Many of the lookups come from TAs.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 14:54:05 GMT</pubDate>
    <dc:creator>dewoodruff</dc:creator>
    <dc:date>2019-10-29T14:54:05Z</dc:date>
    <item>
      <title>Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466272#M191803</link>
      <description>&lt;P&gt;I am using a summary index where the events being added to it contain different types of data, and therefore have different kinds and numbers of fields. I want to run a generic search against this summary index for when type=alert and have an email generated containing all the fields for that event.&lt;/P&gt;

&lt;P&gt;The problem is others using this search head have defined many different automatic lookups that sometimes match my fields. I do not want the alert email to contain any of the automatic lookup output.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;How can I disable all automatic lookups for just this search so my email isn't filled with junk?&lt;/STRONG&gt; I found this previous question and understand the on up-voted response, but the question is not actually answered - &lt;A href="https://answers.splunk.com/answers/113653/ignore-automatic-lookup-just-for-a-search.html"&gt;https://answers.splunk.com/answers/113653/ignore-automatic-lookup-just-for-a-search.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I contemplated doing "|fields -" but there are over 150 auto lookup fields in some cases... Is there a way to disable lookups for a specific eventtype, in which case I can define one for this summary index?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 16:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466272#M191803</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2019-10-25T16:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466273#M191804</link>
      <description>&lt;P&gt;How about changing the permission of lookup to limit the users who can use it?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 23:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466273#M191804</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-10-25T23:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466274#M191805</link>
      <description>&lt;P&gt;The &lt;CODE&gt;automatic lookups&lt;/CODE&gt; should be contained within a stanza with a &lt;CODE&gt;sourcetype&lt;/CODE&gt; in the definition, but clearly yours are not.  The problem is not that it is exported globally to all apps, it is that it is defined by some kind of wildcard, which is not the right way to do it.  Find the &lt;CODE&gt;automatic lookup&lt;/CODE&gt; definition and ensure that it is associated with only the specific &lt;CODE&gt;sourcetype&lt;/CODE&gt; values to which it applies.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 02:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466274#M191805</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-26T02:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466275#M191806</link>
      <description>&lt;P&gt;That's an idea. I don't think our admins would go for that though. Many of the lookups come from TAs.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 14:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466275#M191806</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2019-10-29T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466276#M191807</link>
      <description>&lt;P&gt;Thanks. Almost all of the lookups come from TAs like the TA for Windows or Identity Management. They're doing things like pulling out any 'user' field regardless of source type and enriching with LDAP information. &lt;/P&gt;

&lt;P&gt;Other examples are the built in date_ fields. I don't think those are lookups, are they? Maybe I'm asking with the wrong term.&lt;/P&gt;

&lt;P&gt;What I'm really looking for is a search command that will output only the fields that were extracted from the log message itself - no enrichments, no lookups, no built-ins. Does such a thing exist?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:04:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466276#M191807</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2019-10-29T15:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466277#M191808</link>
      <description>&lt;P&gt;The closest that you can probably get is something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Search Here | table _time _raw | kv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 03:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466277#M191808</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-06T03:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466278#M191809</link>
      <description>&lt;P&gt;See my new answer.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 03:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466278#M191809</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-06T03:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Disable automatic lookups for a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466279#M191810</link>
      <description>&lt;P&gt;Perfect, that's exactly what I'm looking for! kv was not in my regular arsenal of commands. Simple and dynamic, thank you. &lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 15:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Disable-automatic-lookups-for-a-search/m-p/466279#M191810</guid>
      <dc:creator>dewoodruff</dc:creator>
      <dc:date>2019-11-06T15:41:17Z</dc:date>
    </item>
  </channel>
</rss>

