Getting Data In

Confusion with sedcmd on an overided sourcetype

Tasos
Engager

Hello Team . I need an advice regarding an issue I experience.

I have a Heavy Forwarder witch collects data from eventhub with sourcetype mscs:azure:eventhub.

On HF level I transform the data from a specific provider to override the sourcetype from mscs:azure:eventhub to mscs:azure:eventhub:databricks. 
The format of the logs is json .
There is one filed in the logs  properties.requestParams which has the nested key values (depending the log everytime the key is different and not the  same keys for all logs ).

The field properties.requestParams  raw format is like "properties.requestParams" : "{\"KeyA\": \"valueA\" , \"keyB\":\"valueB\"}"

I want to remove the  double quotes before and after curly braces and the escape character .

My challenges are that the sedcmd  works only if I apply it on the HF in props for mscs:azure:eventhub  

and not in my new sourcetype  mscs:azure:eventhub:databricks and for some reason it brakes the format from the events with sourcetype mscs:azure:eventhub as well  which I don't want.

 

Any idea how to approach this issue ? 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...