<?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 Can you help me break my search up into two smaller ones? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443489#M166879</link>
    <description>&lt;P&gt;I have a query that is taking up too many resources I am told.  I decided to break it up into two smaller reports (one for the first 12 hours yesterday, one for the last 12 hours yesterday).  &lt;/P&gt;

&lt;P&gt;How do I add this to the query without using the drop down options or manually changing the period of time? Current report:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source="/var/log/bwi/lanwan" VIP="*prod*" VIP=*etw* CN="*" | rex field=_raw "(^.*protocol=|^.*\s(via).*\snegotiated\sProtocol\s)(?&amp;lt;Protocol&amp;gt;.*?)\s(cipher=|with\sCipher\s)(?&amp;lt;Cipher&amp;gt;\w+-*\w*)" | dedup CN | rename CN AS PropertyNumber, OU AS PropertyName | eventstats max(time_in_sec), min(time_in_sec) avg(time_in_sec), first(_time) as latest_time by PropertyNumber | table PropertyNumber,PropertyName,Protocol,Cipher,_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Oct 2018 22:01:37 GMT</pubDate>
    <dc:creator>bealm</dc:creator>
    <dc:date>2018-10-23T22:01:37Z</dc:date>
    <item>
      <title>Can you help me break my search up into two smaller ones?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443489#M166879</link>
      <description>&lt;P&gt;I have a query that is taking up too many resources I am told.  I decided to break it up into two smaller reports (one for the first 12 hours yesterday, one for the last 12 hours yesterday).  &lt;/P&gt;

&lt;P&gt;How do I add this to the query without using the drop down options or manually changing the period of time? Current report:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source="/var/log/bwi/lanwan" VIP="*prod*" VIP=*etw* CN="*" | rex field=_raw "(^.*protocol=|^.*\s(via).*\snegotiated\sProtocol\s)(?&amp;lt;Protocol&amp;gt;.*?)\s(cipher=|with\sCipher\s)(?&amp;lt;Cipher&amp;gt;\w+-*\w*)" | dedup CN | rename CN AS PropertyNumber, OU AS PropertyName | eventstats max(time_in_sec), min(time_in_sec) avg(time_in_sec), first(_time) as latest_time by PropertyNumber | table PropertyNumber,PropertyName,Protocol,Cipher,_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Oct 2018 22:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443489#M166879</guid>
      <dc:creator>bealm</dc:creator>
      <dc:date>2018-10-23T22:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me break my search up into two smaller ones?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443490#M166880</link>
      <description>&lt;P&gt;you should just be able to do &lt;CODE&gt;earliest=-1d@d latest=-1d@d+12h&lt;/CODE&gt; and &lt;CODE&gt;earliest=-1d@d+12h latest=@d&lt;/CODE&gt; in the base search for the two separate searches&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 23:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443490#M166880</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-10-23T23:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me break my search up into two smaller ones?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443491#M166881</link>
      <description>&lt;P&gt;hi @bealm,&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 21:47:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443491#M166881</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-24T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me break my search up into two smaller ones?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443492#M166882</link>
      <description>&lt;P&gt;I am awaiting my team to introduce this as a solution -- I believe strongly it will work but I may not know for a day or so... when I find out that it has worked I will complete this properly.. I would like to leave it open for now&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-break-my-search-up-into-two-smaller-ones/m-p/443492#M166882</guid>
      <dc:creator>bealm</dc:creator>
      <dc:date>2018-10-25T13:25:23Z</dc:date>
    </item>
  </channel>
</rss>

