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

Added syslog #21

Merged
merged 2 commits into from
Aug 17, 2020
Merged

Added syslog #21

merged 2 commits into from
Aug 17, 2020

Conversation

jmwilliams89
Copy link
Contributor

No description provided.

output: syslog_parser
{{ end }}

{{ if eq $connection_type "tcp" }}
- id: syslog_input
type: tcp_input
listen_address: {{ $listen_address }}
labels:
log_type: syslog
output: syslog_parser
{{ end }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This one seems to be missing the syslog_parser

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you just missed it down below. It exists outside of the conditional statements. That way we didn't need to define the same parser twice for each conditional.

@jmwilliams89 jmwilliams89 merged commit f4c921c into master Aug 17, 2020
@jmwilliams89 jmwilliams89 deleted the syslog branch August 17, 2020 14:14
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