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

log configured values as integer #30

Merged
merged 4 commits into from
Jun 12, 2019
Merged

Conversation

dneunkirch
Copy link
Contributor

If you want to filter in Kibana with a range (example all requests with HTTP status code 200 to 299), the indexed field must be a numeric value and not a string. Now you're able to configure "intergerFields" in your logback configuration.

Copy link
Owner

@osiegmar osiegmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Please check my comments.

src/main/java/de/siegmar/logbackgelf/GelfEncoder.java Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
src/main/java/de/siegmar/logbackgelf/GelfEncoder.java Outdated Show resolved Hide resolved
David Neunkirch added 2 commits June 12, 2019 13:18
replace regex check with trying to parse the string as double
@osiegmar osiegmar merged commit d03a918 into osiegmar:master Jun 12, 2019
@osiegmar
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants