Splunk Search

Retrieving results after adding new events.

misteryuku
Communicator

I added events through Splunk's REST API and i added new fields to the new events that i added to Splunk.
Then i search the added events and retrieved the new events added. When i retrieved the new events added from the search app, i realised that in the xml format there are no new xml tags for the new fields.

When i added the new events to splunk, i formatted the new field=value pairs in the log message, Splunk created new fields after i added them through the REST API. But however i retrieved those new eventsm as an xml, i saw the new field value pairs present within the "_raw" xml tags. Why is that so? How to ensure that there are new field tags are created whenever i retrieve the new fields during search?

Tags (4)
0 Karma

Ayn
Legend
0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...