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 (5)
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!

New Splunk Observability innovations: Deeper visibility and smarter alerting to ...

You asked, we delivered. Splunk Observability Cloud has several new innovations giving you deeper visibility ...

Synthetic Monitoring: Not your Grandma’s Polyester! Tech Talk: DevOps Edition

Register today and join TekStream on Tuesday, February 28 at 11am PT/2pm ET for a demonstration of Splunk ...

Instrumenting Java Websocket Messaging

Instrumenting Java Websocket MessagingThis article is a code-based discussion of passing OpenTelemetry trace ...