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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...