<?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 Optimization on my query in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Search-Optimization-on-my-query/m-p/537110#M8711</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/204073"&gt;@bapun18&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try this below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; index=syslogs earliest=-5m
| lookup my_devices_lookup device_ip as host OUTPUTNEW device_ip as found
| where isnull(found)
| stats values(device_ip) by _time SYSLOG_mne SYSLOG_message&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 19:57:38 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-01-25T19:57:38Z</dc:date>
    <item>
      <title>Search Optimization on my query</title>
      <link>https://community.splunk.com/t5/Reporting/Search-Optimization-on-my-query/m-p/537083#M8710</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a query that is giving me results in around 60-70 seconds I wanted to reduce the time, seems NOT is taking more time and my search is parsing for around 35-40 seconds. Please help me to optimize the below query so that it will run within 30 seconds.&lt;BR /&gt;&lt;BR /&gt;index=syslogs earliest=-5m&lt;BR /&gt;| fields _time host SYSLOG_mne SYSLOG_message&lt;BR /&gt;| rename host as device_ip&lt;BR /&gt;| dedup device_ip&lt;BR /&gt;| search NOT&lt;BR /&gt;[| inputlookup my_devices_lookup&lt;BR /&gt;| dedup device_ip&lt;BR /&gt;| table device_ip]&lt;BR /&gt;| fields _time device_ip SYSLOG_mne SYSLOG_message&lt;BR /&gt;| stats values(device_ip) by _time SYSLOG_mne SYSLOG_message&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 17:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Search-Optimization-on-my-query/m-p/537083#M8710</guid>
      <dc:creator>bapun18</dc:creator>
      <dc:date>2021-01-25T17:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Search Optimization on my query</title>
      <link>https://community.splunk.com/t5/Reporting/Search-Optimization-on-my-query/m-p/537110#M8711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/204073"&gt;@bapun18&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try this below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; index=syslogs earliest=-5m
| lookup my_devices_lookup device_ip as host OUTPUTNEW device_ip as found
| where isnull(found)
| stats values(device_ip) by _time SYSLOG_mne SYSLOG_message&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 19:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Search-Optimization-on-my-query/m-p/537110#M8711</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-01-25T19:57:38Z</dc:date>
    </item>
  </channel>
</rss>

