splunk / splunk-javascript-logging

Splunk HTTP Event Collector logging interface for JavaScript
http://dev.splunk.com/view/splunk-logging-javascript/SP-CAAAE63
Apache License 2.0
85 stars 47 forks source link

Support for "fields" metadata attribute is missing #47

Closed nuttamsingh closed 2 years ago

nuttamsingh commented 3 years ago

Based on the documentation of the event metadata types in 8.1.1 https://docs.splunk.com/Documentation/Splunk/8.1.1/Data/FormateventsforHTTPEventCollector

Thanks!

Rahmo commented 3 years ago

it doesn't work for me either

Rahmo commented 3 years ago

looking at the code I think the problem is in here https://github.com/splunk/splunk-javascript-logging/blob/master/splunklogger.js#L353 something about the return I would put it inside the if

bparmar-splunk commented 2 years ago

Hi All, Closing this issue because PR #70 supporting this issue has been merged.

Thank you.