Deployment Architecture

How to resolve this error: Numeric value (9000000000000) out of range of int (-2147483648 - 2147483647)

soheil115
Engager

Hello to all friends Because I have very large data, I changed the value of maxresultrows

change.jpg

But when I use the dbxquery command, I get the following error. Is there a solution?

error2.jpg

Labels (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@soheil115 - It seems to me that there is a field inside filter_all_products.list table which has a value as "9000000000000" and its type is numeric, which Splunk DB connect is trying to convert it into integer but failing.

 

Try converting that field to string first with SQL.

SELECT CONVERT(varchar(256), numeric_field_name), ...<other fields> FROM ....

 

I hope this helps!!!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The solution is to change maxresultrows to a value that fits the specified range.

maxresultrows = 2147483647

I should call your attention to this note in limits.conf.spec:

This limit should not exceed 50000.

 

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...