Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to get rid of the “Properties” wrap? #52

Open
gunnarsteing opened this issue Aug 23, 2021 · 0 comments
Open

Possible to get rid of the “Properties” wrap? #52

gunnarsteing opened this issue Aug 23, 2021 · 0 comments

Comments

@gunnarsteing
Copy link

When use the nlog configuration with:

  • includeEventProperties="true"

or if I have:

includeEventProperties="false" and use:


I get the logs in the following format (properties wrapped in "Properties"):

{"Level":"Info","MessageTemplate":"ApiRequest","RenderedMessage":"ApiRequest","Properties":{"httpMethod":"GET","statusCode":200}, ...}

Is it possible to get rid of the Properties-wrap, and have it more flat?
{ "Level": "Info", "httpMethod": "GET", "statusCode":200, ... }

Wrapping it in "Properties" makes it less readable in splunk (it's tedious to manually expand properties all the time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant