<?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: Improve efficiency of a splunk search query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594663#M206979</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was really quick and helpful.&lt;BR /&gt;Also, is there is any possibility if we can modify time range setting in such a way that is do not overlap the data.&lt;BR /&gt;&lt;BR /&gt;Like currently, its running everyday and resulting 30 days of data since time range is set as of 30 days.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2022 12:57:33 GMT</pubDate>
    <dc:creator>nilbak88</dc:creator>
    <dc:date>2022-04-21T12:57:33Z</dc:date>
    <item>
      <title>How to improve efficiency of a Splunk search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594654#M206975</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;One of my scheduled report is quite expensive.&lt;BR /&gt;It runs everyday from Monday to Friday and results in 30 days worth of data.&lt;BR /&gt;&lt;BR /&gt;Search Query&lt;BR /&gt;index=abc_* | stats count by index,host&lt;BR /&gt;&lt;BR /&gt;How can I improve its search efficiency?&lt;BR /&gt;Please suggest .&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594654#M206975</guid>
      <dc:creator>nilbak88</dc:creator>
      <dc:date>2022-04-21T14:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Improve efficiency of a splunk search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594656#M206976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231835"&gt;@nilbak88&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if in your search you have to use only index and host, you can use | metasearch for faster searches:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=abc_* 
| stats count by index host&lt;/LI-CODE&gt;&lt;P&gt;for more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Metasearch" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/SearchReference/Metasearch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 12:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594656#M206976</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-21T12:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Improve efficiency of a splunk search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594663#M206979</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was really quick and helpful.&lt;BR /&gt;Also, is there is any possibility if we can modify time range setting in such a way that is do not overlap the data.&lt;BR /&gt;&lt;BR /&gt;Like currently, its running everyday and resulting 30 days of data since time range is set as of 30 days.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 12:57:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594663#M206979</guid>
      <dc:creator>nilbak88</dc:creator>
      <dc:date>2022-04-21T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Improve efficiency of a splunk search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594670#M206982</link>
      <description>&lt;P&gt;You could put your daily counts into a summary index, then create a report which sums counts from the summary index for the last 30 days&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 13:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594670#M206982</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-04-21T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Improve efficiency of a splunk search query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594671#M206983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231835"&gt;@nilbak88&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;if you want to fix the time range e.g. from the last 30 days to the end of yestarday, you could add some time modifiers like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=abc_* earliest=-30d@d latest=@d
| stats count by index host&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 13:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-improve-efficiency-of-a-Splunk-search/m-p/594671#M206983</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-21T13:21:53Z</dc:date>
    </item>
  </channel>
</rss>

