<?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: Is Splunk extracting unnecessary fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140703#M38897</link>
    <description>&lt;P&gt;Use fast mode and be explicit about the fields you want.&lt;/P&gt;

&lt;P&gt;Mode docs are here, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Search/Changethesearchmode"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Search/Changethesearchmode&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;More about the fields command, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Fields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Fields&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2015 16:23:57 GMT</pubDate>
    <dc:creator>thomrs</dc:creator>
    <dc:date>2015-02-10T16:23:57Z</dc:date>
    <item>
      <title>Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140702#M38896</link>
      <description>&lt;P&gt;I've noticed that my searches are taking a very long time to complete.  For instance, a one-hour search for Bro IDS events with sourcetype of bro_http takes 127 seconds to complete.  When looking through the search.log, I see Splunk identifying valid field extraction stanzas for sourcetypes of all kinds--not just sourcetype=bro_http.  When I use fast mode, the search takes all of a few seconds.  Is there any way I can restrict the field extraction to only those stanzas that match the search terms?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:55:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140702#M38896</guid>
      <dc:creator>joshua_hart1</dc:creator>
      <dc:date>2020-09-28T18:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140703#M38897</link>
      <description>&lt;P&gt;Use fast mode and be explicit about the fields you want.&lt;/P&gt;

&lt;P&gt;Mode docs are here, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Search/Changethesearchmode"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Search/Changethesearchmode&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;More about the fields command, &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Fields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Fields&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140703#M38897</guid>
      <dc:creator>thomrs</dc:creator>
      <dc:date>2015-02-10T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140704#M38898</link>
      <description>&lt;P&gt;I've read the mode documentation and I agree, fast mode is just as it's named: faster.  However, when running inline searches for dashboard panels, searches often take a long time.  Also, the root question about whether or not Splunk should attempt to extract fields based on field extraction stanzas that do not match the search terms remains to be answered.&lt;/P&gt;

&lt;P&gt;For example, if my search is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo earliest=-60m@m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;shouldn't Splunk only load the field extractions that match that source, sourcetype, or host?  Currently, whenever I search for anything, Splunk loads the field extractions for everything under the sun.  I believe this is leading to longer search times.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:38:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140704#M38898</guid>
      <dc:creator>joshua_hart1</dc:creator>
      <dc:date>2015-02-10T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140705#M38899</link>
      <description>&lt;P&gt;Since you say the sourcetype is bro_http i am guessing your data is full of key=value pairs? (or in json)&lt;BR /&gt;
If so, splunk tries to extract all those per default.&lt;/P&gt;

&lt;P&gt;you could in props.conf for sourcetype bro_http turn off automatic field extraction&lt;BR /&gt;
[bro_http]&lt;BR /&gt;
KV_MODE = none&lt;/P&gt;

&lt;P&gt;However then you need to specify your own fields if you want to have fields searchable. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140705#M38899</guid>
      <dc:creator>lmyrefelt</dc:creator>
      <dc:date>2020-09-28T18:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140706#M38900</link>
      <description>&lt;P&gt;docs:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Aboutfields"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Aboutfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;creating fields,&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 12:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140706#M38900</guid>
      <dc:creator>lmyrefelt</dc:creator>
      <dc:date>2015-02-11T12:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140707#M38901</link>
      <description>&lt;P&gt;Perhaps you have a props stanza for a wildcard source, sourcetype or host that gets applied to all sourcetypes? I.e. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.*]
TRANSFORM-my_horrible_transform = my_horrible_transform
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This stanza will also get executed together with any transforms you have for the bro_http sourcetype.&lt;/P&gt;

&lt;P&gt;This may be an explanation if you have problems with slow searches for other sourcetypes too.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:05:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140707#M38901</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-02-11T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140708#M38902</link>
      <description>&lt;P&gt;I'll check for that.  Not sure I do, but I'll check.  To be honest, I'm seeing stanza matches for Windows event logs when I search for Bro events or anything else.  It's like Splunk loads every single props/transforms stanza for field extraction on every search regardless of the search criteria.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:27:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140708#M38902</guid>
      <dc:creator>joshua_hart1</dc:creator>
      <dc:date>2015-02-11T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140709#M38903</link>
      <description>&lt;P&gt;I too would like your original question addressed. I have extractions which are specified for a certain sourcetype, but see messages from splunk about them being slow, when my search is specific to a different sourcetype.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140709#M38903</guid>
      <dc:creator>chanfoli</dc:creator>
      <dc:date>2016-05-25T19:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is Splunk extracting unnecessary fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140710#M38904</link>
      <description>&lt;P&gt;I am experiencing similar issues, was there any answer or solution which was decided? I also made a post here: [Splunk Answers Question][1]&lt;BR /&gt;
Any Insight would help! &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/586903/searchlog-indicates-search-is-attempting-to-extrac.html"&gt;https://answers.splunk.com/answers/586903/searchlog-indicates-search-is-attempting-to-extrac.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 19:40:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-Splunk-extracting-unnecessary-fields/m-p/140710#M38904</guid>
      <dc:creator>clanier</dc:creator>
      <dc:date>2017-10-30T19:40:31Z</dc:date>
    </item>
  </channel>
</rss>

