<?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: Difference between 2 fields using the diff command does not yield the same result in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489771#M8782</link>
    <description>&lt;P&gt;Open a support case and then come back here and tell us what you find out!&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2019 20:08:38 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2019-11-29T20:08:38Z</dc:date>
    <item>
      <title>Difference between 2 fields using the diff command does not yield the same result</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489768#M8779</link>
      <description>&lt;P&gt;I am comparing a user list field from an index that runs a collection every 30 minutes. I do a comparison of these 2 events and search for the + or - . If it is + user has been added and if it is a - the user has been deleted.&lt;/P&gt;

&lt;P&gt;The problem I am having is that the somehow the events ( 15 mins apart) are not coming through in the "right order". &lt;/P&gt;

&lt;P&gt;2019-11-22 15:00    John Doe                        User Removed&lt;BR /&gt;
2019-11-22 15:00    Jane Doe                            User Added&lt;/P&gt;

&lt;P&gt;Press the search button again maybe 2 times ( No changes to time... just basically search again) I get ..&lt;/P&gt;

&lt;P&gt;2019-11-22 15:00    Jane Doe                        User Removed&lt;BR /&gt;
2019-11-22 15:00    John Doe                            User Added&lt;/P&gt;

&lt;P&gt;Names have changed around.&lt;/P&gt;

&lt;P&gt;Is this a bug in Splunk? ( I can replicate this over and over...)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 11:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489768#M8779</guid>
      <dc:creator>BlueTurtleM</dc:creator>
      <dc:date>2019-11-25T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between 2 fields using the diff command does not yield the same result</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489769#M8780</link>
      <description>&lt;P&gt;What is your base search? We will be unable to determine the issue without looking at your query.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:42:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489769#M8780</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-25T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between 2 fields using the diff command does not yield the same result</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489770#M8781</link>
      <description>&lt;P&gt;index= cn = ""&lt;BR /&gt;&lt;BR /&gt;
| diff pos1=1 pos2=2 attribute=member_name&lt;/P&gt;

&lt;P&gt;I then extract the username and do an eval case on the + and - which then does the added or removed.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489770#M8781</guid>
      <dc:creator>BlueTurtleM</dc:creator>
      <dc:date>2019-11-25T12:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between 2 fields using the diff command does not yield the same result</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489771#M8782</link>
      <description>&lt;P&gt;Open a support case and then come back here and tell us what you find out!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489771#M8782</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-29T20:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between 2 fields using the diff command does not yield the same result</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489772#M8783</link>
      <description>&lt;P&gt;I opened a support case and it looks like when the events are returned the diff command, irrespective of when the events arrived, would compare the events. This lead to the difference in the comparison between the 2 events.  To resolve this issue we forced the events to be sorted before we did the diff command. At the moment it is working for now.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 08:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Difference-between-2-fields-using-the-diff-command-does-not/m-p/489772#M8783</guid>
      <dc:creator>BlueTurtleM</dc:creator>
      <dc:date>2019-12-03T08:58:27Z</dc:date>
    </item>
  </channel>
</rss>

