Closed ShujaARizvi closed 3 years ago
You can use enableJsonLayout="true"
to provide you own custom JsonPayload. See also #125
Check out this pull request: https://github.com/markmcdowell/NLog.Targets.ElasticSearch/pull/147
@markmcdowell This issue can now be resolved. NLog.Targets.ElasticSearch .ver 7.6.0 includes the option IncludeDefaultFields
I want to use my own fields for timestamp, level, and message. But the default fields make my data redundant. Need to exclude these default fields but not sure how to.