<?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: Search improvement in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-improvement/m-p/560826#M159399</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236119"&gt;@ibmbaranski&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can filter events using earliest and latest filter. Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=xyz sourcetype=abc NOT user_email=unauthenticated (user_email=*) [| makeresults | eval earliest=strptime("20210723", "%Y%m%d"),latest=relative_time(earliest, "+1d@d") | table earliest latest | format] | ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 16:05:58 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-07-26T16:05:58Z</dc:date>
    <item>
      <title>Search improvement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-improvement/m-p/560819#M159398</link>
      <description>&lt;P&gt;Hi - looking for a more efficient way to do this, if anyone has any tips:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;index=xyz sourcetype=abc NOT user_email=unauthenticated (user_email=*) | eval day=strftime(_time, "%Y%m%d") | search day=20210723 | ...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, can I filter on _time for a specific day without doing the eval then filter, this seems like an inefficient way to query if I can somehow say &lt;EM&gt;&lt;STRONG&gt;dayOf(_time)='20201010'&lt;/STRONG&gt;&lt;/EM&gt; or something like that...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 15:33:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-improvement/m-p/560819#M159398</guid>
      <dc:creator>ibmbaranski</dc:creator>
      <dc:date>2021-07-26T15:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search improvement</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-improvement/m-p/560826#M159399</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236119"&gt;@ibmbaranski&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can filter events using earliest and latest filter. Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=xyz sourcetype=abc NOT user_email=unauthenticated (user_email=*) [| makeresults | eval earliest=strptime("20210723", "%Y%m%d"),latest=relative_time(earliest, "+1d@d") | table earliest latest | format] | ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 16:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-improvement/m-p/560826#M159399</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-26T16:05:58Z</dc:date>
    </item>
  </channel>
</rss>

