Skip to content

scl: add *arr sources#4803

Merged
bazsi merged 4 commits intosyslog-ng:masterfrom
alltilla:arr-sources
Feb 4, 2024
Merged

scl: add *arr sources#4803
bazsi merged 4 commits intosyslog-ng:masterfrom
alltilla:arr-sources

Conversation

@alltilla
Copy link
Collaborator

New sources:

  • lidarr()
  • prowlarr()
  • radarr()
  • readarr()
  • sonarr()
  • whisparr()

Example minimal config:

source s_radarr {
  radarr(
    dir("/path/to/my/radarr/log/dir")
  );
};

alltilla added a commit to alltilla/syslog-ng that referenced this pull request Feb 1, 2024
Signed-off-by: Attila Szakacs <[email protected]>
scl/arr/arr.conf Outdated
};

rewrite {
set("`app`" value("APP"));
Copy link
Collaborator

Choose a reason for hiding this comment

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

The "APP" value is not something we've used thus far. Wouldn't it make more sense to use PROGRAM here?

Or ${.app.name} just as app-parser( )does?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, changed it (and some others, that I have recently contributed) to use $PROGRAM.

Copy link
Collaborator

@bazsi bazsi left a comment

Choose a reason for hiding this comment

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

I've left one note on the use of ${APP}

@bazsi bazsi merged commit 1f0a854 into syslog-ng:master Feb 4, 2024
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