Other Usage

Splunk KVStore API Call : Why is the field Value too Long?

tdeanesh
Loves-to-Learn Lots

While doing splunk API post call for KVStore one of the field [string] attribute size is large 

so API call fails saying below statement

String value too long. valueSize=526402, maxValueSize=524288

Is there a way we can increase the field [string] length through configuration ?

Please let me know your suggestions

 

Tags (1)
0 Karma

tdeanesh
Loves-to-Learn Lots

Actually as per Splunk Team. This issue is fixed in Splunk 8.2.6 or higher versions.

So we just need to upgrade to 8.2.6 atleast

Column size is increased from 512 KB. Need to confirm the next max possible Size

0 Karma

tdeanesh
Loves-to-Learn Lots

Thanks for the reply.

Let me check if we can limit the value below max size allowed for the attribute before inserting into KVStore

0 Karma

isoutamo
SplunkTrust
SplunkTrust

If you want to use that sized values on kvstore and also use is as lookup which you want to replicate to indexers you will have another issues.... 

0 Karma

tdeanesh
Loves-to-Learn Lots

Gentle Reminder...

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

I couldn’t any parameters on limits.conf or server.conf for that. Based on that probably this is not something what you could do by yourself? Maybe spunk support have something more?

Anyhow your value seems to be quite huge! Are you sure that you cannot do something for your data/process to avoiding store this size of thing to kvstore?

r. Ismo

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...