All Apps and Add-ons

Fixed number of records output to MySQL from DB Connect Output configuration

vikrakum
Engager

I have configured Output connection in Splunk DB Connect, which takes search results of inputlookup of CSV file (76k entries) and send it to a MySQL table in another machine every hr in Upsert mode.

The MySQL table is configured as InnoDB engine, and table setup look as follows:
fields1 varchar(200)
fields2 varchar(200)
fields3 varchar(30)
fields4 varchar(20000)

The table received only 49897 records from Splunk, which remains constant. I'm confused why the table didn't receive all the data from Splunk. Any pointers? Thanks!

0 Karma
1 Solution

vikrakum
Engager

I was able to fix this issue:
Edit /opt/splunk/etc/system/local/limits.conf, add below lines and restart Splunk.

[default]
max_mem_usage_mb = 400

[searchresults]
maxresultrows = 100000

View solution in original post

0 Karma

vikrakum
Engager

I was able to fix this issue:
Edit /opt/splunk/etc/system/local/limits.conf, add below lines and restart Splunk.

[default]
max_mem_usage_mb = 400

[searchresults]
maxresultrows = 100000

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...