Splunk Search

How to make index-time field extraction work for REST API receiver input?

yuanliu
SplunkTrust
SplunkTrust

I have INDEXED_EXTRACTIONS = json and TIMESTAMP_FIELDS = my_timestamp_field in [my_json_type] stanza. This works when I upload a file and select my_json_type as source type. But when I post the exact same data via REST API's receiver endpoint, no field extraction happens. (Both datasets returned by search sourcetype=my_json_type.) How can I make this work for both file upload and REST API?

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...