Skip to content

Parameters for log_format #678

@goldsap25

Description

@goldsap25

I need to set the log_format values but not sure how to do this. I was not able to find documentation regarding this.

By default, it's setting $log_format: {}
I need it to be set such that it looks like below. (skipping other values within http)

http{
log_format main 'some string with some var like $remote_addr'
'another string'
'one more string'
}

If this is the wrong place to post question, please let me know where I may post this question.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions