-
Notifications
You must be signed in to change notification settings - Fork 10
add(services): output queues in default rulesets #606
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
base: dev
Are you sure you want to change the base?
Conversation
c101a1a to
30eecae
Compare
| {{ frontend.log_condition }} | ||
|
|
||
| action(type="omfile" DynaFile="recoveryfile" CreateDirs="on" action.ExecOnlyWhenPreviousIsSuspended="on" template="raw_message") | ||
| call {{ frontend.ruleset_name }}_outputs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't keep {{ frontend.log_condition }} if you call the outputs ruleset with the same action inside
| set $!frontend_name = "{{frontend.name}}"; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you remove this?
| }-%} | ||
|
|
||
| ruleset(name="{{ frontend.ruleset_name }}_outputs" queue.type="Direct") { | ||
| {{ frontend.log_condition|indent(4, false) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this one indented? (and not the other?)
| # Convert timestamp from epoch to rfc3339 | ||
| set $!timestamp = replace(format_time(field($!time, ".", 1), "date-rfc3339"), "Z", "." & field($!time, ".", 2) & "Z"); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this done here?
| ruleset(name="{{ frontend.ruleset_name }}_outputs_garbage" queue.type="Direct") { | ||
| {{ frontend.log_condition_failure|indent(4, false) }} | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is never used
30eecae to
d63e9da
Compare
Added