<?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 performance of a &amp;quot;loadjob&amp;quot; search which takes a long time to fetch the results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244629#M72882</link>
    <description>&lt;P&gt;Are you using Search Head Clustering/Search Head pooling? Also, 2 million records are a lot, there will be some slowness (reading 2 million records off the compressed result file).&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2017 20:49:10 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-01-20T20:49:10Z</dc:date>
    <item>
      <title>How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244628#M72881</link>
      <description>&lt;P&gt;I am using &lt;CODE&gt;loadjob&lt;/CODE&gt; to load an already scheduled report that contains more than 2 million results. But when i try to fetch it, it takes an average of ~90 sec to get the results whereas i would like to have this returned within 10 sec - since it is already computed result set. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|loadjob savesearch="test:testApp:testReport"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk Version 6.4 &lt;/P&gt;

&lt;P&gt;How can i improve the performance? Please share your thoughts.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:37:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244628#M72881</guid>
      <dc:creator>samkaj</dc:creator>
      <dc:date>2017-01-20T09:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244629#M72882</link>
      <description>&lt;P&gt;Are you using Search Head Clustering/Search Head pooling? Also, 2 million records are a lot, there will be some slowness (reading 2 million records off the compressed result file).&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 20:49:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244629#M72882</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-01-20T20:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244630#M72883</link>
      <description>&lt;P&gt;Having gone down this path with fewer events, I changed over to an accelerated datamodel with just the fields of concern.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 04:12:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244630#M72883</guid>
      <dc:creator>snoobzilla</dc:creator>
      <dc:date>2017-01-23T04:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244631#M72884</link>
      <description>&lt;P&gt;I am trying to fetch the already compressed result file or scheduled reports from REST service and applying the filter on top of it post the report is fetched. So i am not using any Search head directly here.&lt;/P&gt;

&lt;P&gt;Also, the concept of acceleration can be applied if i am displaying some report in dashboard, but in my case i am using this report and fetching it for other purposes outside Splunk. This report has only needed data and doesn't contain any junk data and is computed from the data with events above 25 million.&lt;/P&gt;

&lt;P&gt;Please let me know if this is the right thing as i have lot of filters to be applied when it comes to data to be fetched post report is generated/fetched.&lt;/P&gt;

&lt;P&gt;Do let us know if 2 million is too huge what would be the optimal number of results set the report should have so that it can return in few seconds.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 06:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244631#M72884</guid>
      <dc:creator>samkaj</dc:creator>
      <dc:date>2017-01-23T06:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244632#M72885</link>
      <description>&lt;P&gt;I am trying to fetch the already compressed result file or scheduled reports from REST service and applying the filter on top of it post the report is fetched. So i am not using any Search head directly here.&lt;/P&gt;

&lt;P&gt;Also, the concept of acceleration can be applied if i am displaying some report in dashboard, but in my case i am using this report and fetching it for other purposes outside Splunk. This report has only needed data and doesn't contain any junk data and is computed from the data with events above 25 million.&lt;/P&gt;

&lt;P&gt;Please let me know if this is the right thing as i have lot of filters to be applied when it comes to data to be fetched post report is generated/fetched.&lt;/P&gt;

&lt;P&gt;Do let us know if 2 million is too huge what would be the optimal number of results set the report should have so that it can return in few seconds.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 06:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244632#M72885</guid>
      <dc:creator>samkaj</dc:creator>
      <dc:date>2017-01-23T06:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244633#M72886</link>
      <description>&lt;P&gt;There are a lot of ways to do things in Splunk and I was relating my experience where I was trying to improve performance of a dashboard.&lt;/P&gt;

&lt;P&gt;2 million records is a lot to put through the pipeline every call and expect it to be fast. Some options: &lt;BR /&gt;
1. cache the loaded job in a database outside of Splunk and poll it from there. &lt;BR /&gt;
2. build an accelerated datamodel containing the results and query Splunk with filters and/or any aggregation commands applied to the datamodel, so you are only pulling a smaller set of results out.&lt;/P&gt;

&lt;P&gt;If you are trying to join with external data can you move that data into Splunk and join it there?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 12:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/244633#M72886</guid>
      <dc:creator>snoobzilla</dc:creator>
      <dc:date>2017-01-23T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/563066#M196175</link>
      <description>&lt;P&gt;I believe if you separate the loading order so not everything in the dashboard is loading at once.&amp;nbsp; Use the artifact_offset=0 command and set some to maybe 1 and/or 2 so it loads at different times and doesn't slow down the dashboard results by loading every panel at the same time.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;| loadjob savedsearch=tech123:Residential:"name of saved/enabled alert" artifact_offset=0&lt;BR /&gt;| timechart span=1d count by incident_type&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 12:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/563066#M196175</guid>
      <dc:creator>csatech245</dc:creator>
      <dc:date>2021-08-12T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to improve performance of a "loadjob" search which takes a long time to fetch the results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/563100#M196189</link>
      <description>&lt;P&gt;When you use loadjob the indexers return ALL results from your saved search. Anything you do with the data after loadjob such as display fields, stats, etc. will be run against the entire result set.&lt;BR /&gt;&lt;BR /&gt;Additionally, anytime the dashboard page is refreshed, visited by another user, or re-visited, etc. then the loadjob is called again each time. If your artifact bundle is huge, as you state, then you're definitely going to hit performance and storage issues.&lt;/P&gt;&lt;P&gt;You might consider modifying your savedsearch to limit the results, or break it down into multiple saved searches.&lt;/P&gt;&lt;P&gt;Or, you can build a search directly in the dashboard and use the results as a "base" search.&lt;BR /&gt;This post has a good discussion on it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Base-search-query-for-different-dashboard-panels/m-p/309255" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Base-search-query-for-different-dashboard-panels/m-p/309255&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 16:38:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-performance-of-a-quot-loadjob-quot-search-which/m-p/563100#M196189</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-08-12T16:38:25Z</dc:date>
    </item>
  </channel>
</rss>

