Skip to content

Commit

Permalink
jinja if should be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
dsx committed Jan 5, 2025
1 parent 9dae22e commit 1eebaac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/templates/telegraf/syslog_telegraf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

$ModLoad omuxsock
$OMUxSockSocket /run/telegraf/telegraf_syslog.sock
{% if telegraf.loki or telegraf.splunk %}
*.info;*.notice :omuxsock:
{% else %}
*.notice :omuxsock:
{% endif %}

0 comments on commit 1eebaac

Please sign in to comment.