Getting Data In

Can I modify Data from Splunk using Splunk API?

misteryuku
Communicator

Lets say if i do not search for the data using the splunk search then can i edit the data directly from the splunk server using the Splunk's REST api?

Tags (1)
0 Karma

Ayn
Legend

Edit as in change data that is already in Splunk's index? No. Once data is indexed, there is no (easy) way of altering it.

misteryuku
Communicator

Nothing i just want to know if there is such thing as updating the indexed data since i don't see any documentation on that on this Splunk website.

0 Karma

Ayn
Legend

Could you tell us a bit more about what you're trying to achieve?

0 Karma

Ayn
Legend

When you search in Splunk - regardless of which method you're using - you're getting your results from Splunk's index, yes.

0 Karma

misteryuku
Communicator

Normally when log file data is sent to splunk, splunk indexes the file data right? When you search for the result using Splunk's REST API, the result normally returns indexed data right? Am i right in both statements i made?

0 Karma

Ayn
Legend

OK. In that case the answer is no.

0 Karma

misteryuku
Communicator

Yes. That is what mean. Edit as in change data that is already in Splunk's index.

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...