<?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 track slow-running field extractions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278936#M84238</link>
    <description>&lt;P&gt;This would be very nice to have.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Dec 2016 19:36:33 GMT</pubDate>
    <dc:creator>rjthibod</dc:creator>
    <dc:date>2016-12-30T19:36:33Z</dc:date>
    <item>
      <title>How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278932#M84234</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I have had a really bad Field extractor bogging down my system (discovered it from search.log on indexer) , tuning  it made my search upto 18x faster for that app &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt; It slowed down no only searches but data model acceleration/pivots etc obviosly&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I was interested in generating a auditing  report on all slow running Field extractor's&lt;/STRONG&gt; which would help boost the system by quite a bit ( though not all searches may be so bad to give such a performance boost)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;But I dont see above log for quite a long timeline which means its not logged ( debug needed?)  or criteria is different.&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;splunk version is  6.2.3  Build 264376&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278932#M84234</guid>
      <dc:creator>stanwin</dc:creator>
      <dc:date>2016-02-10T17:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278933#M84235</link>
      <description>&lt;P&gt;I've converted this to a question so it doesn't get lost in a year-old topic.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 03:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278933#M84235</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-02-11T03:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278934#M84236</link>
      <description>&lt;P&gt;bump!&lt;/P&gt;

&lt;P&gt;Any analytics to run to get worst performing field extractions..&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 10:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278934#M84236</guid>
      <dc:creator>stanwin</dc:creator>
      <dc:date>2016-12-29T10:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278935#M84237</link>
      <description>&lt;P&gt;I've converted this to a comment because it's not an answer.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 17:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278935#M84237</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-12-30T17:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278936#M84238</link>
      <description>&lt;P&gt;This would be very nice to have.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 19:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278936#M84238</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-12-30T19:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to track slow-running field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278937#M84239</link>
      <description>&lt;P&gt;I don't know any specific apps which might do, other than trying enabling debug mode and testing it specifically.&lt;/P&gt;

&lt;P&gt;What I would do is:&lt;BR /&gt;
- Isolate the problematic app only and remove all other apps (good place to try-out is your DEV system). &lt;BR /&gt;
- Enable some sample data using eventgen or copy from prod and Index it with the problematic app. (approx 1 million events)&lt;BR /&gt;
- Within the same app (or a different app) in "local" directory, create props.conf,transforms.conf,eventtypes.conf,tags.conf (or if you have clue about the problematic .conf file, just use that file only)&lt;BR /&gt;
- copy all the extracts and put the value of all keys as "HELLO-test" (or some hardcoded variable)&lt;BR /&gt;
- Now run the speed test to see if it gives you the 18x speed. Ideally it should give , otherwise the problem is somewhere else (eg problem in index time extractions)&lt;BR /&gt;
- If the above results comes quickly, that means definitely it is a search time extraction regex.&lt;BR /&gt;
- Now split the extractions: eg. copy half of the key-value extractions into the "local" conf files and run the speed test. If speed reduces, then it is one within your block you just copied.&lt;BR /&gt;
- Repeat this process until you identify the extraction&lt;/P&gt;

&lt;P&gt;Another option is, to use online "regex101.com" website and use the "debugger" enabled mode and check number of iterations and time taken for each regex.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2017 09:05:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-track-slow-running-field-extractions/m-p/278937#M84239</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-01-01T09:05:16Z</dc:date>
    </item>
  </channel>
</rss>

