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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...