Skip to content

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

Open
@gunnarsteing

Description

@gunnarsteing

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions