<?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: Filter results with value in realtime in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680835#M232686</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261832"&gt;@dataisbeautiful&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;never use All Time!&lt;/P&gt;&lt;P&gt;choose a correct time range and use it,&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 13:06:34 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-03-15T13:06:34Z</dc:date>
    <item>
      <title>Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680725#M232666</link>
      <description>&lt;P&gt;I'm trying to build a query to give real time results for a value, but the is a time delay between the data send and indexed. This means when I do a realtime query for last 60s, I get 20s of data and 40s of blank.&lt;/P&gt;
&lt;P&gt;I'd like to load the last 60s of recieved data in realtime, not the data recieved in the last 60s.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;I've tried&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=ind sourcetype=src (type=instrument)
| where temperature!=""
| timechart span=1s values(temperature)

&lt;/LI-CODE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=ind sourcetype=src (type=instrument)
| where temperature!= NULL
| timechart span=1s values(temperature)

&lt;/LI-CODE&gt;
&lt;P&gt;No luck with either&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 17:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680725#M232666</guid>
      <dc:creator>dataisbeautiful</dc:creator>
      <dc:date>2024-03-14T17:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680732#M232667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261832"&gt;@dataisbeautiful&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;at first don't use the where condition after the main search, this is a bad practice that make your search slower.&lt;/P&gt;&lt;P&gt;Then, you should analyze why you have a delay: have you sufficient resources in your Indexers and Search Heads?&lt;/P&gt;&lt;P&gt;If you have sufficient resources and If there's a delay in indexing You could eventually try to use, in real time,&amp;nbsp; the 60 seconds frome 70 seconds past and 10 seconds past:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ind sourcetype=src (type=instrument) earliest=rt-70s latest=rt-10s temperature!=""
| timechart span=1s values(temperature)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 17:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680732#M232667</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-14T17:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680806#M232681</link>
      <description>&lt;P&gt;@Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;The delay is outside Splunk, it's not something we can solve unfortunately&lt;/P&gt;&lt;P&gt;I've tried adding&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=rt-70s latest=rt-10s&lt;/LI-CODE&gt;&lt;P&gt;but that returned no results, so I broadend the time to&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;earliest=rt-300s latest=rt&lt;/LI-CODE&gt;&lt;P&gt;but this also returned no results.&lt;/P&gt;&lt;P&gt;Inspecting the job, the search ran but found no events&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 08:44:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680806#M232681</guid>
      <dc:creator>dataisbeautiful</dc:creator>
      <dc:date>2024-03-15T08:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680822#M232683</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261832"&gt;@dataisbeautiful&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what happens running the search not in real time, with the same time window? have you events?&lt;/P&gt;&lt;P&gt;In general I don't like real time searches because every Splunk search uses a CPU and releases it when finished, but a real time search never finishes, so, if many users use one or more real time searches you could kill your system.&lt;/P&gt;&lt;P&gt;Maybe you could use a scheduled report (running e.g. every 5 minutes) and access it in a dashboard (using loadjob), solving in this way also you issue.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 11:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680822#M232683</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-15T11:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680824#M232684</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running not in realtime it works fine. I'm starting to think the realtime search isn't the best solution.&lt;/P&gt;&lt;P&gt;If I set the search time to "all time" and use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| head 60&lt;/LI-CODE&gt;&lt;P&gt;to get the latest 60 samples it does what I'm after&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 12:00:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680824#M232684</guid>
      <dc:creator>dataisbeautiful</dc:creator>
      <dc:date>2024-03-15T12:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter results with value in realtime</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680835#M232686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261832"&gt;@dataisbeautiful&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;never use All Time!&lt;/P&gt;&lt;P&gt;choose a correct time range and use it,&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 13:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filter-results-with-value-in-realtime/m-p/680835#M232686</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-15T13:06:34Z</dc:date>
    </item>
  </channel>
</rss>

