Splunk Search

Is there a limit to the number of digits for a number field in a kvstore?

BernardEAI
Communicator

I have a kvstore that I am writing results of a search to. I have a field in the kvstore called ASC_IDX, and this is defined as a number. If I now write a large number (like 1647976533000037808725) to this field with outputlookup, I get the following number in the kvstore:

-9223372036854775808

This same number appears for all large number I'm trying to put into the kvstore.

Is there a limit to the number of digits for a number field in a kvstore?

Labels (1)
Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That number is larger than 64 bits so I would not expect Splunk to store it properly as an integer.  Consider storing it as a string.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

That number is larger than 64 bits so I would not expect Splunk to store it properly as an integer.  Consider storing it as a string.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...