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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...