Archive

How to restric a kvstore not to allow more than 50000 records?

Explorer

I have a kvstore in my application which should accept max 50000 records. I am using kvstore rest api for ingesting the data.
Could you please provide me a way to restrict the ingestion to certain count.

Tags (1)
0 Karma

Influencer

You can use kvstore Rest API to get count of existing records and restrict data insertion if existing count is = 50000.

https://localhost:8089/servicesNS/nobody/<app>/storage/collections/data/<collection_name>?fields=_ke...
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!