<?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 How to query two nullable nested fields are not equal? [newbie question] in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-query-two-nullable-nested-fields-are-not-equal-newbie/m-p/619571#M215322</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {classificationA: null, classificationB: null},
  {classificationA: {name: 'Education'}, classificationB: {name: 'Education'}},
  {classificationA: {name: 'IT'}, classificationB: {name: 'IT'}}
} &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My aim is to find all the rows whose classificationA is not equals to classificationB. So given the above dataset, it should return zero rows.&lt;/P&gt;&lt;P&gt;I thought it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | where classficationA != classficationB&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not working.&amp;nbsp; Anyone can help? Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 00:46:04 GMT</pubDate>
    <dc:creator>roliu</dc:creator>
    <dc:date>2022-11-04T00:46:04Z</dc:date>
    <item>
      <title>How to query two nullable nested fields are not equal? [newbie question]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-query-two-nullable-nested-fields-are-not-equal-newbie/m-p/619571#M215322</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {classificationA: null, classificationB: null},
  {classificationA: {name: 'Education'}, classificationB: {name: 'Education'}},
  {classificationA: {name: 'IT'}, classificationB: {name: 'IT'}}
} &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My aim is to find all the rows whose classificationA is not equals to classificationB. So given the above dataset, it should return zero rows.&lt;/P&gt;&lt;P&gt;I thought it should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; | where classficationA != classficationB&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not working.&amp;nbsp; Anyone can help? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 00:46:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-query-two-nullable-nested-fields-are-not-equal-newbie/m-p/619571#M215322</guid>
      <dc:creator>roliu</dc:creator>
      <dc:date>2022-11-04T00:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to query two nullable nested fields are not equal? [newbie question]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-query-two-nullable-nested-fields-are-not-equal-newbie/m-p/619578#M215325</link>
      <description>&lt;P&gt;Is that your 'raw' data - it is not valid JSON. Is that a single event or 3 events?&lt;/P&gt;&lt;P&gt;Please share the raw data - if it's 3 classifications inside a single event, then please paste an example of the true _raw element of the value of a field that's extracted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 03:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-query-two-nullable-nested-fields-are-not-equal-newbie/m-p/619578#M215325</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-11-04T03:02:50Z</dc:date>
    </item>
  </channel>
</rss>

