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!

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...