Getting Data In

What is the best way to update a KV store using automation?

Papoose1992
Observer

All,

 

What is the best way to update a KV store using automation? Python script or APIs. I am looking to take data from logs from a file and update a KV store based on that data or extract. 

Labels (4)
Tags (3)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Papoose1992 

Here I suggest creating Python Script which calls Splunk KV Store Endpoints (APIs) as per the requirement and using the python script in automation.

Create a method or Class in Python which can be reusable and fulfill all KV Store related requirements for Automations.

Please check the below link for Splunk REST endpoints for KV Store. 

https://dev.splunk.com/enterprise/docs/developapps/manageknowledge/kvstore/usetherestapitomanagekv/

I hope this will help you.

Thanks
KV


If any of my replies helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...