Thank you in advance.
I am using Winston logger for printing application logs in JSON format.
But Somehow it prints in Javascript object format without double-quotes for keys like below
{
message: 'APP listening on 4000',
level: 'info',
env: 'local',
timestamp: '2022-03-10T04:58:35.303Z'
}
While in Splunk logs it does not consider it as JSON because of missing double-quotes for Keys
Is there any Splunk query I can use runtime for this JS object to covert into JSON String with double quotes and extract fields?