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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...