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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...