<?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: Searching where a difference in fields is greater than 1. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77185#M19522</link>
    <description>&lt;P&gt;Well now I just feel silly :).  All my searching, and I never found the 'where' command.  Thank you!&lt;/P&gt;</description>
    <pubDate>Sun, 17 Jun 2012 17:36:34 GMT</pubDate>
    <dc:creator>tslnmx</dc:creator>
    <dc:date>2012-06-17T17:36:34Z</dc:date>
    <item>
      <title>Searching where a difference in fields is greater than 1.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77183#M19520</link>
      <description>&lt;P&gt;My log messages have two fields I'd like to search on: engineElapsed and serviceElapsed.  I'm interested in looking at all the records where engineElapsed - serviceElapsed &amp;gt; 1.&lt;/P&gt;

&lt;P&gt;I'm new to Splunk, and have discovered I can do do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | eval time=engineElapsed-serviceElapsed | timechart avg(time) by user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But since I need to see individual log messages, something like this might be more suited -- if it worked, that is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eval(engineElapsed-serviceElapsed)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Help would be appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2012 15:15:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77183#M19520</guid>
      <dc:creator>tslnmx</dc:creator>
      <dc:date>2012-06-17T15:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Searching where a difference in fields is greater than 1.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77184#M19521</link>
      <description>&lt;P&gt;Have you tried this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;* | where (engineElapsed - serviceElapsed) &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 17 Jun 2012 15:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77184#M19521</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2012-06-17T15:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Searching where a difference in fields is greater than 1.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77185#M19522</link>
      <description>&lt;P&gt;Well now I just feel silly :).  All my searching, and I never found the 'where' command.  Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2012 17:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Searching-where-a-difference-in-fields-is-greater-than-1/m-p/77185#M19522</guid>
      <dc:creator>tslnmx</dc:creator>
      <dc:date>2012-06-17T17:36:34Z</dc:date>
    </item>
  </channel>
</rss>

