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

[datadog_logs_custom_pipelines] Add empty string validation to grok parser samples list #1917

Merged
merged 1 commit into from
May 12, 2023

Conversation

nkzou
Copy link
Contributor

@nkzou nkzou commented May 12, 2023

Fixes segfault due to empty string turning into a nil. The backend doesn't accept empty strings to begin with, so this adds a validate function as well as a nil check.

@nkzou nkzou merged commit 8a7d9e8 into master May 12, 2023
9 checks passed
@nkzou nkzou deleted the kevinzou/logs_custom_samples branch May 12, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

datadog_logs_custom_pipeline provider can not process grok match rule with regex
2 participants