<?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 Data Model Acceleration TSTATS where clause NOT working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Data-Model-Acceleration-TSTATS-where-clause-NOT-working/m-p/433402#M123741</link>
    <description>&lt;P&gt;The following SPL is returning multiple values for nmds_adapter_survey.iccid when the where clause is set to a value. It should only return the specified value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats
    values(nmds_adapter_survey.iccid)
    values(nmds_adapter_survey.hcar)
    values(nmds_adapter_survey.c_id)
  from datamodel=nmdm_survey
  where nmds_adapter_survey.iccid="89014103255440210384"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Results:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/255837-screen-shot-20180828-01.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Setting the where clause to any numbers for the last 4 characters returns what matches the first 16 characters. The where clause below returns the same values as the SPL where clause above.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; where nmds_adapter_survey.iccid="89014103255440210000"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the data model the iccid value is defined as a string.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:04:53 GMT</pubDate>
    <dc:creator>simpkins1958</dc:creator>
    <dc:date>2020-09-29T21:04:53Z</dc:date>
    <item>
      <title>Data Model Acceleration TSTATS where clause NOT working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Data-Model-Acceleration-TSTATS-where-clause-NOT-working/m-p/433402#M123741</link>
      <description>&lt;P&gt;The following SPL is returning multiple values for nmds_adapter_survey.iccid when the where clause is set to a value. It should only return the specified value.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats
    values(nmds_adapter_survey.iccid)
    values(nmds_adapter_survey.hcar)
    values(nmds_adapter_survey.c_id)
  from datamodel=nmdm_survey
  where nmds_adapter_survey.iccid="89014103255440210384"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Results:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/255837-screen-shot-20180828-01.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Setting the where clause to any numbers for the last 4 characters returns what matches the first 16 characters. The where clause below returns the same values as the SPL where clause above.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; where nmds_adapter_survey.iccid="89014103255440210000"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the data model the iccid value is defined as a string.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:04:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Data-Model-Acceleration-TSTATS-where-clause-NOT-working/m-p/433402#M123741</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2020-09-29T21:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model Acceleration TSTATS where clause NOT working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Data-Model-Acceleration-TSTATS-where-clause-NOT-working/m-p/530417#M149861</link>
      <description>&lt;P&gt;We've just witnessed the exact same issue for us. Looks like tstats will return results if the first 16 characters are the same, ignoring any change beyond that. Unbelievable.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:45:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Data-Model-Acceleration-TSTATS-where-clause-NOT-working/m-p/530417#M149861</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2020-11-23T12:45:33Z</dc:date>
    </item>
  </channel>
</rss>

