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

Track URL path #1

Closed
ericandrewlewis opened this Issue Sep 7, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@ericandrewlewis
Contributor

ericandrewlewis commented Sep 7, 2018

Would it be possible to track the URL path as a separate field?

@ronlut

This comment has been minimized.

Show comment
Hide comment
@ronlut

ronlut Sep 10, 2018

Owner

Hi.
I'm currently abroad and not in front of a computer.

Try adding ' "url_path": "$uri", ' or ' "url_path": "$request_uri", ' to the graylog2_json configuration.

You can lookup for additional variables here

Example of $request_uri: link

Hope that helps :)

Owner

ronlut commented Sep 10, 2018

Hi.
I'm currently abroad and not in front of a computer.

Try adding ' "url_path": "$uri", ' or ' "url_path": "$request_uri", ' to the graylog2_json configuration.

You can lookup for additional variables here

Example of $request_uri: link

Hope that helps :)

@ronlut ronlut closed this Sep 10, 2018

@ronlut ronlut reopened this Sep 10, 2018

@ronlut

This comment has been minimized.

Show comment
Hide comment
@ronlut

ronlut Sep 29, 2018

Owner

Closing, let me know if something is unclear

Owner

ronlut commented Sep 29, 2018

Closing, let me know if something is unclear

@ronlut ronlut closed this Sep 29, 2018

@ericandrewlewis

This comment has been minimized.

Show comment
Hide comment
@ericandrewlewis

ericandrewlewis Sep 29, 2018

Contributor

Thanks for the notes!

Do you mind if I add a bit of explainer text to the README about logging other NGINX embedded variables? Something like:

You can log other useful information for each request by adding the desired NGINX variable into the JSON.

Contributor

ericandrewlewis commented Sep 29, 2018

Thanks for the notes!

Do you mind if I add a bit of explainer text to the README about logging other NGINX embedded variables? Something like:

You can log other useful information for each request by adding the desired NGINX variable into the JSON.

@ronlut

This comment has been minimized.

Show comment
Hide comment
@ronlut

ronlut Sep 29, 2018

Owner

Sure, go ahead!
And thanks for the help 😀

Owner

ronlut commented Sep 29, 2018

Sure, go ahead!
And thanks for the help 😀

@ericandrewlewis

This comment has been minimized.

Show comment
Hide comment
@ericandrewlewis

ericandrewlewis Sep 29, 2018

Contributor

Cool - created #2

Contributor

ericandrewlewis commented Sep 29, 2018

Cool - created #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment