<?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: Filtering data prior to timechart - finding values that are outside of filter in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-data-prior-to-timechart-finding-values-that-are/m-p/562688#M196065</link>
    <description>&lt;P&gt;You can't do math in the &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; command.&amp;nbsp; Try &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt;, instead or do the math yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="/var/log/bcore/ws_metric*" vent="WsMetricConnectEventType.connect_end" duration_seconds &amp;lt; 3600 
| timechart p95(duration_seconds) span=5m 


source="/var/log/bcore/ws_metric*" vent="WsMetricConnectEventType.connect_end" 
| where duration_seconds &amp;lt; 60*60 
| timechart p95(duration_seconds) span=5m &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Aug 2021 00:19:40 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-08-10T00:19:40Z</dc:date>
    <item>
      <title>Filtering data prior to timechart - finding values that are outside of filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-data-prior-to-timechart-finding-values-that-are/m-p/562668#M196059</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm seeking to make a spunk timechart of values that match a certain filter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;source="/var/log/bcore/ws_metric*" event="WsMetricConnectEventType.connect_end" duration_seconds &amp;lt; 60*60 | timechart p95(duration_seconds) span=5m&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately, I'm clearly getting values that are longer than 60*60=3600 seconds. Many of the values for p95(duration_seconds) are actually somewhere in the range of 397k seconds.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I actually filter the data going into timechart?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 21:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-data-prior-to-timechart-finding-values-that-are/m-p/562668#M196059</guid>
      <dc:creator>codekiln</dc:creator>
      <dc:date>2021-08-09T21:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data prior to timechart - finding values that are outside of filter</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-data-prior-to-timechart-finding-values-that-are/m-p/562688#M196065</link>
      <description>&lt;P&gt;You can't do math in the &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; command.&amp;nbsp; Try &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt;, instead or do the math yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="/var/log/bcore/ws_metric*" vent="WsMetricConnectEventType.connect_end" duration_seconds &amp;lt; 3600 
| timechart p95(duration_seconds) span=5m 


source="/var/log/bcore/ws_metric*" vent="WsMetricConnectEventType.connect_end" 
| where duration_seconds &amp;lt; 60*60 
| timechart p95(duration_seconds) span=5m &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 00:19:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-data-prior-to-timechart-finding-values-that-are/m-p/562688#M196065</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-10T00:19:40Z</dc:date>
    </item>
  </channel>
</rss>

