<?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: Modulus in Splunk is faulty in my occasion in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712607#M240371</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238005"&gt;@TheEggi98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is very odd! Its not something I also see the same issue you are getting (Splunk returning&amp;nbsp;&lt;SPAN&gt;25920.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would suggest filing a support case (&lt;A href="https://www.splunk.com/en_us/about-splunk/contact-us.html#customer-support" target="_blank"&gt;https://www.splunk.com/en_us/about-splunk/contact-us.html#customer-support&lt;/A&gt;) and raise this so that a bug can be raised internally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 14:49:47 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-02-26T14:49:47Z</dc:date>
    <item>
      <title>Modulus in Splunk is faulty in my occasion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712605#M240370</link>
      <description>&lt;P&gt;Hi fellow splunkers,&lt;BR /&gt;&lt;BR /&gt;recently i deployed&amp;nbsp;WinPrintMon inputs to our printserver, to check driver versions and found out that splunk falsly calculated modulus.&lt;BR /&gt;Tested in Enterprise 9.3.2 and 9.4.0&lt;BR /&gt;&lt;BR /&gt;in the calculated version i found out, that the revision of a driver differs from the printmanagement on that printserver directly.&lt;BR /&gt;&lt;BR /&gt;i calculate the revision like that: version % pow(2,16)&lt;BR /&gt;&lt;BR /&gt;In my case the calculation translates to&lt;BR /&gt;&lt;SPAN&gt;17171305019303231 % 65536&lt;BR /&gt;&lt;/SPAN&gt;splunk calculates&amp;nbsp;&lt;SPAN&gt;25920 which isn't correct, it is&amp;nbsp;25919&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 14:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712605#M240370</guid>
      <dc:creator>TheEggi98</dc:creator>
      <dc:date>2025-02-26T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modulus in Splunk is faulty in my occasion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712607#M240371</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238005"&gt;@TheEggi98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is very odd! Its not something I also see the same issue you are getting (Splunk returning&amp;nbsp;&lt;SPAN&gt;25920.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would suggest filing a support case (&lt;A href="https://www.splunk.com/en_us/about-splunk/contact-us.html#customer-support" target="_blank"&gt;https://www.splunk.com/en_us/about-splunk/contact-us.html#customer-support&lt;/A&gt;) and raise this so that a bug can be raised internally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 14:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712607#M240371</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-26T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modulus in Splunk is faulty in my occasion</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712672#M240387</link>
      <description>&lt;P&gt;I tested further and its not the modulus calculation, its how splunk handling high numbers.&lt;BR /&gt;&lt;BR /&gt;This search shows that if a number (only tested Integer) has 17 digits or more, odd numbers will turned even.&lt;BR /&gt;The field&amp;nbsp;odd_highest_correct_len_16 in the makeresults search is the highest correct odd i achieved whith working digit for digit from left to right.&lt;BR /&gt;If the last digit of&amp;nbsp;odd_highest_correct_len_16 is get set to 3, splunk will make a 2 out of that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| fields - _time
| eval odd_correct_len_16=1000000000000001, odd_highest_correct_len_16=9007199254740991, odd_incorrect_len_17=10000000000000001&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm going to file a support case for that.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 07:22:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Modulus-in-Splunk-is-faulty-in-my-occasion/m-p/712672#M240387</guid>
      <dc:creator>TheEggi98</dc:creator>
      <dc:date>2025-02-27T07:22:49Z</dc:date>
    </item>
  </channel>
</rss>

