<?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 improve the speed of Spunk search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445163#M126286</link>
    <description>&lt;P&gt;The search statement I use is &lt;CODE&gt;|pivot datamodel dataset SPLITROW name as new_name FILTER name is jack&lt;/CODE&gt;.The speed is slower than &lt;CODE&gt;index="test"  name=jack&lt;/CODE&gt;.At this time, CPU and memory usage increased sharply.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2019 01:33:46 GMT</pubDate>
    <dc:creator>qazwsxe</dc:creator>
    <dc:date>2019-07-08T01:33:46Z</dc:date>
    <item>
      <title>How to improve the speed of Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445107#M126230</link>
      <description>&lt;P&gt;I want to get hundreds of millions of data from billions of data, but it takes more than an hour each time.&lt;BR /&gt;I just used the simplest search: &lt;CODE&gt;index="test" name=jack&lt;/CODE&gt; But, it's very slow.&lt;/P&gt;
&lt;P&gt;Then I checked the memory and CPU usage. Each search takes only 200-300 MB of memory. &lt;BR /&gt;So I modified the &lt;CODE&gt;max_mem_usage_mb, search_process_memory_usage_percentage_threshold and search_process_memory_usage_threshold parameters&lt;/CODE&gt; in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local/limits.conf&lt;/CODE&gt;, but they didn't seem to play a significant role.&lt;BR /&gt;Is there any effective way to improve the speed of my search?&lt;BR /&gt;Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 22:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445107#M126230</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2025-01-30T22:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445108#M126231</link>
      <description>&lt;P&gt;@qazwsxe one of the best way to index and monitor KPI information would be to use Metrics Index available from version 7.x. With each release there is significant new features introduced to Metrics Indexing, so do explore the latest version and features (like current latest version 7.3.0 introduces Metrics Rollup). &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Metrics/Overview"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Metrics/Overview&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2018/05/16/metrics-to-the-max-dramatic-performance-improvements-for-monitoring-and-alerting-on-metrics-data.html"&gt;https://www.splunk.com/blog/2018/05/16/metrics-to-the-max-dramatic-performance-improvements-for-monitoring-and-alerting-on-metrics-data.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2019/06/18/navigating-data-chaos-with-splunk-metrics-workspace.html"&gt;https://www.splunk.com/blog/2019/06/18/navigating-data-chaos-with-splunk-metrics-workspace.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 03:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445108#M126231</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-28T03:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445109#M126232</link>
      <description>&lt;P&gt;@martin_mueller♦ &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445109#M126232</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-06-28T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445110#M126233</link>
      <description>&lt;P&gt;@ qazwsxe&lt;BR /&gt;
Simplest searches are the most vague searches as well sometimes. For best performances below are a few suggestions you can use to optimize the performance of your query.&lt;/P&gt;

&lt;P&gt;Be precise with your base search as much as you can. It helps reduce the scope of search. Great help in case of larger indexes. So Include everything you know about the events you want.&lt;BR /&gt;
Adding a sourcetype after your index will help narrowing the scope of searched events i.e. like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`index="test" sourcetype=&amp;lt;yourST&amp;gt; name=jack`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Keep your time range precise about your requirement. &lt;BR /&gt;
If you working in an indexer cluster. Make sure your index data is being split across all indexers. This will help avoid the load on single indexer instance for a search.&lt;/P&gt;

&lt;P&gt;And Lastly, do take a look at the job inspector for your searches and analyse where the most time is getting spent. They will be the areas to work upon.&lt;/P&gt;

&lt;P&gt;Thanks. &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:32:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445110#M126233</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2019-06-28T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445111#M126234</link>
      <description>&lt;P&gt;Even if the search conditions are accurate, the speed is slow.There's a lot of data, maybe billions,so the search speed is slow.&lt;BR /&gt;
When the search command is executed, memory and CPU usage are minimal.Using the same data, ELK takes up a lot of memory and cpu, and it's much faster than splunk.&lt;BR /&gt;
So, what should I do?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:54:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445111#M126234</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-06-28T07:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445112#M126235</link>
      <description>&lt;P&gt;Be more specific in describing what goal you want your search to achieve. I doubt it's "list millions of events on screen" because there's no value in that.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 12:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445112#M126235</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-06-28T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445113#M126236</link>
      <description>&lt;P&gt;@qazwsxe &lt;/P&gt;

&lt;P&gt;For Faster Search, you need to be specific. Use source or sourcetype in your search and make use of Time range picker to search the logs in the specific time range.&lt;/P&gt;

&lt;P&gt;Also, we have below modes of searching in Splunk:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Fast Mode&lt;/LI&gt;
&lt;LI&gt;Smart Mode&lt;/LI&gt;
&lt;LI&gt;Verbose Mode&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445113#M126236</guid>
      <dc:creator>mbagali_splunk</dc:creator>
      <dc:date>2019-06-28T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445114#M126237</link>
      <description>&lt;P&gt;I want to extract hundreds of millions of data from billions of data by simple keyword search, but the speed is too slow. No matter how much data is searched, CPU and memory usage have not changed significantly. Excuse me, is there something wrong with my usage? I just want to speed up my search.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 01:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445114#M126237</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-07-01T01:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445115#M126238</link>
      <description>&lt;P&gt;I also used sourcetype and specified fast mode. But the speed is still very slow. I don't know how to solve it.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 02:22:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445115#M126238</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-07-01T02:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445116#M126239</link>
      <description>&lt;P&gt;@adonio♦  Could you help me ?&lt;BR /&gt;
Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 03:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445116#M126239</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-07-01T03:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445117#M126240</link>
      <description>&lt;P&gt;Okay, what do you want to do with those hundreds of millions of data?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 07:23:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445117#M126240</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-07-01T07:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445118#M126241</link>
      <description>&lt;P&gt;So what's your environment (regarding Indexer(s) and searchhead(s), storage)? And where are you examining the resource consumption?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 08:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445118#M126241</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2019-07-01T08:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445119#M126242</link>
      <description>&lt;P&gt;Increase the resources available to Splunk at the search head level. &lt;BR /&gt;
Modify the settings below (based on your environment) at $SPLUNK_HOME:/etc/system/local/limits.conf and cycle the search head(s).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[defaults]
max_mem_usage_mb = 16000

[search]
# If number of cpu's in your machine is 14 then total system wide number of
# concurrent searches this machine can handle is 20.
# which is base_max_searches + max_searches_per_cpu x num_cpus = 6 + 14 x 1 = 20
base_max_searches = 6
max_searches_per_cpu = 16

[scheduler]
# Percent of total concurrent searches that will be used by scheduler is
# total concurrency x max_searches_perc = 20 x 60% = 12 scheduled searches
# User default value (needed only if different from system/default value) when
# no max_searches_perc.&amp;lt;n&amp;gt;.when (if any) below matches.
max_searches_perc = 80
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445119#M126242</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-07-01T15:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445120#M126243</link>
      <description>&lt;P&gt;The search currently provided, &lt;CODE&gt;index=foo field=value&lt;/CODE&gt;, does not consume SH memory at all. It's purely Indexer-unzip-rawdata induced CPU bound.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445120#M126243</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-07-01T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445121#M126244</link>
      <description>&lt;P&gt;All searches consume memory on the search head. Assuming you are not running your query directly from the indexer UI.&lt;/P&gt;

&lt;P&gt;The indexers perform the work of the query then pass those results back to the SH for any additional parsing and display to the end user. Depending on the size of your search artifacts this can produce tremendous resource consumption on both sides.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445121#M126244</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-07-01T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445122#M126245</link>
      <description>&lt;P&gt;The search currently provided does not do any additional work on the SH, it's all map and no significant reduce.&lt;/P&gt;

&lt;P&gt;In order to help this person we first need to understand their goals, not throw around tons of deep-dive tuning.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:17:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445122#M126245</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-07-01T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445123#M126246</link>
      <description>&lt;P&gt;In order to help this person we should also not provide inaccurate information, such as the idea that searches do not consume memory on a search head.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445123#M126246</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2019-07-01T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445124#M126247</link>
      <description>&lt;P&gt;Splunk is not an ETL tool (it is a &lt;CODE&gt;Needle-in-the-haystack&lt;/CODE&gt; tool, not a &lt;CODE&gt;Forklift-the-haystack&lt;/CODE&gt; tool).  There is no way to make it perform acceptably when the final output is &lt;CODE&gt;millions&lt;/CODE&gt; of rows/events.  It can process billions down to millions, and millions down to hundreds or maybe thousands, but that's it.  You need to figure out what you really need to do and &lt;EM&gt;probably&lt;/EM&gt; you don't need the millions as the final output, but rather as an input to some other calculation which can probably be done in Splunk.  Otherwise, use another, more appropriate tool.  Splunk is not a &lt;CODE&gt;part of the pipeline&lt;/CODE&gt; tool, it is an &lt;CODE&gt;end of the pipeline&lt;/CODE&gt; tool, to give the final conclusions.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445124#M126247</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-01T15:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445125#M126248</link>
      <description>&lt;P&gt;This search doesn't, there is no command running on the SH.&lt;BR /&gt;
It'd be different if there was a high-cardinality stats, a transaction, etc.&lt;/P&gt;

&lt;P&gt;While you're defining what information to provide, I wouldn't recommend recommending &lt;CODE&gt;max_searches_per_cpu = 16&lt;/CODE&gt;. It's a good way to thrash your indexing tier.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 15:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445125#M126248</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-07-01T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve the speed of Spunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445126#M126249</link>
      <description>&lt;P&gt;Because of the large amount of data, the data I get through keyword search will have a lot of correlation, so I will extract a lot of data, but I can not add restrictions, abandon part of the data, which will lead to slow speed. I am eager to solve this problem.&lt;BR /&gt;
Thanks:)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 01:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-the-speed-of-Splunk-search/m-p/445126#M126249</guid>
      <dc:creator>qazwsxe</dc:creator>
      <dc:date>2019-07-02T01:25:18Z</dc:date>
    </item>
  </channel>
</rss>

