<?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: Optimizing the expensive saved searches in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743472#M10870</link>
    <description>&lt;P&gt;Improving the DM acceleration searches can be tricky, as others have pointed out, so can you identify other non DMA searches that are at the top of the list. Searches that just take a long time are not necessarily the bad searches, they may just be handling large datasets.&lt;BR /&gt;&lt;BR /&gt;Poor performing searches can come from badly written dashboard searches that use joins or other poor techniques. They can also come from bad saved searches, again due to bad search techniques.&lt;/P&gt;&lt;P&gt;It's often these user written searches that can bring Splunk to its knees. Of course it's also possible that you just don't have enough grunt - what licence model is your Splunk Cloud using, SVCs or ingest?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 22:17:29 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2025-04-03T22:17:29Z</dc:date>
    <item>
      <title>Optimizing the expensive saved searches</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743385#M10842</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am seeking recommendations on optimizing the most resource-intensive saved searches in my Splunk Cloud instance to reduce Indexers CPU utilization, which is consistently at 99%.&amp;nbsp;We are using Splunk ES,&amp;nbsp;SA-NetworkProtection apps.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;By CMC, these are the most expensive ones and take around 30-40 minutes to complete.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Authentication_ACCELERATE_&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Network_Traffic_ACCELERATE_&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Vulnerabilities_ACCELERATE_&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Endpoint.Services_ACCELERATE&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Network_Sessions_ACCELERATE_&lt;BR /&gt;_ACCELERATE_DM_Splunk_SA_CIM_Change_ACCELERATE_&lt;BR /&gt;&lt;SPAN&gt;_ACCELERATE_DM_SA-NetworkProtection_Domain_Analysis_ACCELERATE_&lt;BR /&gt;_ACCELERATE_DM_DA-ESS-ThreatIntelligence_Threat_Intelligence_ACCELERATE_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any recommendations on how I can optimize without disabling them?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 11:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743385#M10842</guid>
      <dc:creator>tech_g706</dc:creator>
      <dc:date>2025-04-03T11:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the expensive saved searches</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743390#M10844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309054"&gt;@tech_g706&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it isn't possible to optimize accelerated scheduled searches, you can only reduce the execution frequency, if this is compatible with your requisites.&lt;/P&gt;&lt;P&gt;E.G. if you schedule acceleration searches every 10 or 15 minutes, instead of 5, you will have avalible data later than now, so you must change the execution time window of your Correlation Searches.&lt;/P&gt;&lt;P&gt;In other words, if having a frequency of 5 minutes, you can use a time period from -10m@m to -5m@m&amp;nbsp;&amp;nbsp;, having a frequency of 15 minutes, you must schedule Correlation Searches from -20m@m to -15m@m, is this acceptable for you?&lt;/P&gt;&lt;P&gt;Otherwise, you have to use summariesonly=false, but you lose in performances.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:07:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743390#M10844</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-04-03T12:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the expensive saved searches</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743392#M10845</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/309054"&gt;@tech_g706&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those searches are accelerating the Data Models, presumably you are using Splunk Enterprise security? I think&amp;nbsp;the first thing to check is are you actually using all of those models for your ES rules/searches?&lt;/P&gt;&lt;P&gt;Secondly I would check that you have set the specific required indexes in the allowed index list for each of your Data Models in the "CIM Setup" section of ES, by default these are set to index=* but should be configured to only access the indexes that contain the relevant data for the particular data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check out &lt;A href="https://lantern.splunk.com/Security/Product_Tips/Enterprise_Security/Managing_data_models_in_Enterprise_Security" target="_self"&gt;these docs&lt;/A&gt; for more information on managing data models in ES.&lt;/P&gt;&lt;P&gt;The last thing I would check is the Data Model audit dashboard (&lt;STRONG&gt;Audit &amp;gt; Data Model Audit)&amp;nbsp;&lt;/STRONG&gt;in ES, this should give you some stats on how the DM are behaving and if they are updating correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also check out&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/ES/8.0.2/Install/ConfigureDatamodels#Data_model_acceleration_rebuild_behavior" target="_blank"&gt;https://docs.splunk.com/Documentation/ES/8.0.2/Install/ConfigureDatamodels#Data_model_acceleration_rebuild_behavior&lt;/A&gt;&amp;nbsp;which has some further details on the configuration options such as the summary period for each data model.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; &lt;STRONG&gt;Did this answer help you? If so, please consider&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding kudos to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:37:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743392#M10845</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-04-03T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the expensive saved searches</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743472#M10870</link>
      <description>&lt;P&gt;Improving the DM acceleration searches can be tricky, as others have pointed out, so can you identify other non DMA searches that are at the top of the list. Searches that just take a long time are not necessarily the bad searches, they may just be handling large datasets.&lt;BR /&gt;&lt;BR /&gt;Poor performing searches can come from badly written dashboard searches that use joins or other poor techniques. They can also come from bad saved searches, again due to bad search techniques.&lt;/P&gt;&lt;P&gt;It's often these user written searches that can bring Splunk to its knees. Of course it's also possible that you just don't have enough grunt - what licence model is your Splunk Cloud using, SVCs or ingest?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 22:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743472#M10870</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-04-03T22:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the expensive saved searches</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743502#M10874</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thanks for the response.&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;SPAN&gt;SVCs model. We have Splunk ES and other resource intensive apps.&lt;BR /&gt;I am looking for a way to optimize searches as the current indexer memory utilization is 99% since last 2 months.&amp;nbsp;&lt;BR /&gt;I used the CMC dashboard and that showing me the&amp;nbsp;DM acceleration searches are the most expensive ones.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 11:34:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Optimizing-the-expensive-saved-searches/m-p/743502#M10874</guid>
      <dc:creator>tech_g706</dc:creator>
      <dc:date>2025-04-04T11:34:32Z</dc:date>
    </item>
  </channel>
</rss>

