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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...