<?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 How to filter time AFTER timechart using relative time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559654#M158991</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I&amp;nbsp; have a search with timechart that I need to filter time AFTER the timechart based on the current time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;search blablabla&lt;/P&gt;&lt;P&gt;| timechart span=1m limit=0 eval(sum(SOM)/sum(VOL)) by VAR&lt;BR /&gt;| where earliest=-3m@m latest=@m&lt;/P&gt;&lt;P&gt;But got the error:&amp;nbsp;&lt;SPAN&gt;Error in 'where' command: The operator at 'm@m latest=@m' is invalid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And:&lt;/P&gt;&lt;P&gt;search blablabla&lt;/P&gt;&lt;P&gt;| timechart span=1m limit=0 eval(sum(SOM)/sum(VOL)) by VAR&lt;BR /&gt;| search earliest=-3m@m latest=@m&lt;/P&gt;&lt;P&gt;But got no results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to to that?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 16:53:23 GMT</pubDate>
    <dc:creator>msyparker</dc:creator>
    <dc:date>2021-07-15T16:53:23Z</dc:date>
    <item>
      <title>How to filter time AFTER timechart using relative time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559654#M158991</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I&amp;nbsp; have a search with timechart that I need to filter time AFTER the timechart based on the current time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried:&lt;/P&gt;&lt;P&gt;search blablabla&lt;/P&gt;&lt;P&gt;| timechart span=1m limit=0 eval(sum(SOM)/sum(VOL)) by VAR&lt;BR /&gt;| where earliest=-3m@m latest=@m&lt;/P&gt;&lt;P&gt;But got the error:&amp;nbsp;&lt;SPAN&gt;Error in 'where' command: The operator at 'm@m latest=@m' is invalid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And:&lt;/P&gt;&lt;P&gt;search blablabla&lt;/P&gt;&lt;P&gt;| timechart span=1m limit=0 eval(sum(SOM)/sum(VOL)) by VAR&lt;BR /&gt;| search earliest=-3m@m latest=@m&lt;/P&gt;&lt;P&gt;But got no results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to to that?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 16:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559654#M158991</guid>
      <dc:creator>msyparker</dc:creator>
      <dc:date>2021-07-15T16:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter time AFTER timechart using relative time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559686#M159004</link>
      <description>&lt;P&gt;Use :&lt;BR /&gt;&lt;BR /&gt;| where _time&amp;gt;=relative_time(now(), "-3m@m") AND _time&amp;lt;=relative_time(now(), "@m")&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559686#M159004</guid>
      <dc:creator>efika</dc:creator>
      <dc:date>2021-07-15T20:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter time AFTER timechart using relative time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559708#M159013</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:07:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-time-AFTER-timechart-using-relative-time/m-p/559708#M159013</guid>
      <dc:creator>msyparker</dc:creator>
      <dc:date>2021-07-15T21:07:09Z</dc:date>
    </item>
  </channel>
</rss>

