<?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: Any suggestion about how to make alert faster which has huge size lookup. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314928#M94265</link>
    <description>&lt;P&gt;Thanks for your answers.&lt;BR /&gt;
I understood the important point to use subsearch filter pattern.&lt;/P&gt;

&lt;P&gt;Also,unfortunately the search which uses "lookup" and "where" does not improve search performance in my environment.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 05:42:17 GMT</pubDate>
    <dc:creator>Shuhei052492</dc:creator>
    <dc:date>2018-03-01T05:42:17Z</dc:date>
    <item>
      <title>Any suggestion about how to make alert faster which has huge size lookup.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314924#M94261</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have an alert to search proxy logs. And this alert creates its results to match 3 million Proxy logs and  lookup files of 40,000 lines.&lt;BR /&gt;
Also the alert takes 7 ~ 9 hours until it finishes running.&lt;/P&gt;

&lt;P&gt;index=proxy sourcetype=proxy [inputlookup Proxy_blacklist.csv | table url ]&lt;BR /&gt;
| stats count as total_count, last(_time) as ltime, first(_time) as ftime, values(host) as host, values(auth_user) as auth_user by client_ip,url&lt;/P&gt;

&lt;P&gt;I would like to make this alert faster.&lt;BR /&gt;
As I do this, I have the idea  to divide the lookup file as 3 file and this alert as 3 alerts too.&lt;BR /&gt;
If someone has another idea to make it faster, please give me your suggestion and advice.&lt;BR /&gt;
I appreciate any answers so much.&lt;/P&gt;

&lt;P&gt;Best regard,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314924#M94261</guid>
      <dc:creator>Shuhei052492</dc:creator>
      <dc:date>2020-09-29T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Any suggestion about how to make alert faster which has huge size lookup.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314925#M94262</link>
      <description>&lt;P&gt;Does the black list URL contain wild cards?&lt;BR /&gt;
Does the field definition also exist on the indexer side?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 06:26:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314925#M94262</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-02-28T06:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any suggestion about how to make alert faster which has huge size lookup.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314926#M94263</link>
      <description>&lt;P&gt;You could use an accelerated data model and tstats.  &lt;/P&gt;

&lt;P&gt;Or use your lookup as a lookup not as a subsearch. &lt;/P&gt;

&lt;P&gt;Avoid using a lookup with more than 100 rows in a subsearch filter pattern that way. &lt;/P&gt;

&lt;P&gt;Use this pattern. &lt;/P&gt;

&lt;P&gt;... |lookup blacklist url OUTPUT url as isFound | where isnotnull(isFound)&lt;/P&gt;

&lt;P&gt;Also use min and max on _time not first and last. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 03:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314926#M94263</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2018-03-01T03:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Any suggestion about how to make alert faster which has huge size lookup.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314927#M94264</link>
      <description>&lt;P&gt;Yes. All values of this list have wildcards.&lt;BR /&gt;
Yes. My indexer has same field definition in props.conf.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 04:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314927#M94264</guid>
      <dc:creator>Shuhei052492</dc:creator>
      <dc:date>2018-03-01T04:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Any suggestion about how to make alert faster which has huge size lookup.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314928#M94265</link>
      <description>&lt;P&gt;Thanks for your answers.&lt;BR /&gt;
I understood the important point to use subsearch filter pattern.&lt;/P&gt;

&lt;P&gt;Also,unfortunately the search which uses "lookup" and "where" does not improve search performance in my environment.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 05:42:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Any-suggestion-about-how-to-make-alert-faster-which-has-huge/m-p/314928#M94265</guid>
      <dc:creator>Shuhei052492</dc:creator>
      <dc:date>2018-03-01T05:42:17Z</dc:date>
    </item>
  </channel>
</rss>

