<?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: what is use of diff command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354710#M162254</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Diff command will give you difference between two search results. Refer below link for example:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html"&gt;https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 12:38:26 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2018-03-15T12:38:26Z</dc:date>
    <item>
      <title>what is use of diff command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354708#M162252</link>
      <description>&lt;P&gt;Hi , I tried understanding diff command from spunk.doc unable to understand,could you please let me know use of diff command what exactly it does , it would be great if given in answer with example.Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:11:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354708#M162252</guid>
      <dc:creator>maheshsat</dc:creator>
      <dc:date>2018-03-15T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: what is use of diff command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354709#M162253</link>
      <description>&lt;P&gt;diff can be used to get the difference between the epoch time.&lt;BR /&gt;
Please see the below example where i used this query for setting my alert&lt;/P&gt;

&lt;P&gt;your base query | eval MyDate=strptime(date,"%d %b %Y %H:%M:%S") | fieldformat StartTime=strptime(MyDate, "%Y-%m-%d %H:%M:%S") | eval Diff=tostring((StartTime-EndTime),"duration")&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354709#M162253</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-15T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: what is use of diff command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354710#M162254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Diff command will give you difference between two search results. Refer below link for example:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html"&gt;https://answers.splunk.com/answers/151315/how-to-find-differences-between-two-searches-with-set-diff-command.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/what-is-use-of-diff-command/m-p/354710#M162254</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-15T12:38:26Z</dc:date>
    </item>
  </channel>
</rss>

