Skip to content

Conversation

@ELDiablO59152
Copy link
Member

Added

  • [SERVICES] [RSYSLOGD] Output queues in default rulesets

@ELDiablO59152 ELDiablO59152 self-assigned this Sep 10, 2025
@ELDiablO59152 ELDiablO59152 added the enhancement New feature or request label Sep 10, 2025
@ELDiablO59152 ELDiablO59152 force-pushed the add_outputs_to_default_rulesets branch 2 times, most recently from c101a1a to 30eecae Compare September 15, 2025 09:14
Comment on lines 92 to +102
{{ frontend.log_condition }}

action(type="omfile" DynaFile="recoveryfile" CreateDirs="on" action.ExecOnlyWhenPreviousIsSuspended="on" template="raw_message")
call {{ frontend.ruleset_name }}_outputs
Copy link
Member

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

Comment on lines -115 to -116
set $!frontend_name = "{{frontend.name}}";

Copy link
Member

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) }}
Copy link
Member

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?)

Comment on lines +107 to +109
# Convert timestamp from epoch to rfc3339
set $!timestamp = replace(format_time(field($!time, ".", 1), "date-rfc3339"), "Z", "." & field($!time, ".", 2) & "Z");

Copy link
Member

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?

Comment on lines +15 to +17
ruleset(name="{{ frontend.ruleset_name }}_outputs_garbage" queue.type="Direct") {
{{ frontend.log_condition_failure|indent(4, false) }}
}
Copy link
Member

Choose a reason for hiding this comment

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

this is never used

@ELDiablO59152 ELDiablO59152 force-pushed the add_outputs_to_default_rulesets branch from 30eecae to d63e9da Compare January 20, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants