Deployment Architecture

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


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


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


Labels (1)
0 Karma

Super Champion

@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


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!

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...

Announcing Our Splunk MVPs

We are excited to announce the first cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...