<?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 long does a search take in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31633#M6560</link>
    <description>&lt;P&gt;Splunk 5 does not seem to have enough documentation yet. We (my company) might wait to upgrade until it is more readily available.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2012 20:36:30 GMT</pubDate>
    <dc:creator>Michael_Schyma1</dc:creator>
    <dc:date>2012-11-13T20:36:30Z</dc:date>
    <item>
      <title>How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31626#M6553</link>
      <description>&lt;P&gt;Using a Splunk query, how can I tell how long searches are taking?  I know I can inspect a search so the information is available.  Where can I find it?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 22:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31626#M6553</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2012-11-12T22:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31627#M6554</link>
      <description>&lt;P&gt;As of Splunk 5 , you can enter the search query :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| history
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will show you the searches that have been run and stats for the searches ie: total_run _time&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 03:59:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31627#M6554</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-11-13T03:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31628#M6555</link>
      <description>&lt;P&gt;We are not running 5.0.&lt;/P&gt;

&lt;P&gt;I am looking more in general.  I would like to baseline a search and then also baseline all searches so that we can determine if we are having Splunk performance issues.&lt;/P&gt;

&lt;P&gt;So if I come up with a general search (like "index=* earliest=-15s") then determine how long it took to run. &lt;/P&gt;

&lt;P&gt;Also do this for all searches so look at the average, median, and max time is takes to do all searches and see if searches are running normal, faster, or slower than something like yesterday or the same time last week.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 15:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31628#M6555</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2012-11-13T15:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31629#M6556</link>
      <description>&lt;P&gt;After the search run, you can check the &lt;STRONG&gt;search inspector&lt;/STRONG&gt; under the "i" button.&lt;BR /&gt;
you will have a lot of details about the search speed and results.&lt;/P&gt;

&lt;P&gt;Or afterward, check the &lt;CODE&gt;index=_audit&lt;/CODE&gt; for some search performance metrics on savedsearches names or search id.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 15:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31629#M6556</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-13T15:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31630#M6557</link>
      <description>&lt;P&gt;Thanks.  This helps: &lt;/P&gt;

&lt;P&gt;index=_audit earliest=-5m savedsearch_name=* | eval searchStartTime=strptime(apiStartTime, "'%a %B %d %H:%M:%S %Y'")  | eval searchEndTime=strptime(apiEndTime, "'%a %B %d %H:%M:%S %Y'") | eval searchExecuteTime=_time | eval deltaFromEnd=searchExecuteTime - searchStartTime | timechart span=1m max(deltaFromEnd) min(deltaFromEnd) avg(deltaFromEnd)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31630#M6557</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2020-09-28T12:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31631#M6558</link>
      <description>&lt;P&gt;The SOS app has some interesting dashboards on it too.&lt;/P&gt;

&lt;P&gt;Or I use thinks like&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=_audit total_run_time  | convert num(total_run_time) | eval event_per_sec=scan_count/total_run_time  | stats count  median(event_per_sec) AS median avg(event_per_sec) AS avg perc95(event_per_sec) AS perc95  max(total_run_time) AS maxruntime max(scan_count) AS scancount by search_id&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 17:45:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31631#M6558</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-13T17:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31632#M6559</link>
      <description>&lt;P&gt;The Splunk on Splunk(SoS) app is your friend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 20:31:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31632#M6559</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-11-13T20:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31633#M6560</link>
      <description>&lt;P&gt;Splunk 5 does not seem to have enough documentation yet. We (my company) might wait to upgrade until it is more readily available.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 20:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31633#M6560</guid>
      <dc:creator>Michael_Schyma1</dc:creator>
      <dc:date>2012-11-13T20:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: How long does a search take</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31634#M6561</link>
      <description>&lt;P&gt;Splunk 5 is slick, you'll be glad you upgraded when you do.&lt;/P&gt;

&lt;P&gt;FYI : the SoS app is also available for prior Splunk versions.Very nice for diagnosing search performance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2012 20:41:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-long-does-a-search-take/m-p/31634#M6561</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2012-11-13T20:41:31Z</dc:date>
    </item>
  </channel>
</rss>

