<?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: values mismatch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529506#M149548</link>
    <description>&lt;P&gt;Are the fields of the same type, e.g. both numeric or both strings? Is either one a multivalue field?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Nov 2020 08:24:09 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-11-16T08:24:09Z</dc:date>
    <item>
      <title>values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529471#M149537</link>
      <description>&lt;P&gt;i have issue where i am comparing values from 2 fields which will have same value always, but sometimes it differs. I want to compare between these two feilds and have&amp;nbsp; status as Match or Mismatch. I have having issues where even if both fields have some value its showing as mismatch in status.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| eval CheckMatch = if(f1==f2,"Match", "Mismatch")&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Below is the sample result&amp;nbsp;&lt;/P&gt;&lt;P&gt;f1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;f2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CheckMatch&lt;BR /&gt;14552.06&amp;nbsp; &amp;nbsp;14552.06&amp;nbsp; &amp;nbsp; Mismatch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 21:35:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529471#M149537</guid>
      <dc:creator>akumar</dc:creator>
      <dc:date>2020-11-15T21:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529506#M149548</link>
      <description>&lt;P&gt;Are the fields of the same type, e.g. both numeric or both strings? Is either one a multivalue field?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 08:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529506#M149548</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-16T08:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529589#M149586</link>
      <description>&lt;P&gt;Both are numeric values only. But before applying this match condition I am adding 2 field of values to F1 ( f1=a+b).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529589#M149586</guid>
      <dc:creator>akumar</dc:creator>
      <dc:date>2020-11-16T18:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529593#M149589</link>
      <description>&lt;P&gt;Is there any rounding going on in the way the numbers are presented? Is it worth trying&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval CheckMatch = if(round(f1,2)==round(f2,2),"Match", "Mismatch")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529593#M149589</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-16T18:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529596#M149592</link>
      <description>&lt;P&gt;I tried using your above command, now it’s matching all fields even if the values are not the same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529596#M149592</guid>
      <dc:creator>akumar</dc:creator>
      <dc:date>2020-11-16T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529599#M149593</link>
      <description>&lt;P&gt;&lt;BR /&gt;please see below is the search I am using and the result set&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3761C37E-6D09-45C3-A542-FBD62BFC5777.jpeg" style="width: 828px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11914iD56BA9C62AC254E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3761C37E-6D09-45C3-A542-FBD62BFC5777.jpeg" alt="3761C37E-6D09-45C3-A542-FBD62BFC5777.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529599#M149593</guid>
      <dc:creator>akumar</dc:creator>
      <dc:date>2020-11-16T18:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: values mismatch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529600#M149594</link>
      <description>&lt;P&gt;Are they being treated as strings? What do you get with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval f1number=tonumber(f1)
| eval f2number=tonumber(f2)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Nov 2020 18:41:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/values-mismatch/m-p/529600#M149594</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-16T18:41:14Z</dc:date>
    </item>
  </channel>
</rss>

