{"id":15080921,"url":"https://github.com/ansiblization/syslog","last_synced_at":"2026-01-03T01:56:40.255Z","repository":{"id":243510937,"uuid":"812649081","full_name":"ansiblization/syslog","owner":"ansiblization","description":"Ansible role for configuring a syslog service on Debian or Archlinux-based hosts","archived":false,"fork":false,"pushed_at":"2024-06-09T20:53:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-23T05:42:35.657Z","etag":null,"topics":["ansible","ansible-role","debian","syslog","syslog-client","syslog-ng","syslog-server"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansiblization.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T13:48:41.000Z","updated_at":"2024-06-09T20:54:00.000Z","dependencies_parsed_at":"2024-06-09T14:04:30.192Z","dependency_job_id":"aba2bac8-5245-43b6-82c9-93d8b49734db","html_url":"https://github.com/ansiblization/syslog","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"6f2c563a2f9a3be3fac5b02a655215d552457e4f"},"previous_names":["ansiblization/syslog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiblization%2Fsyslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiblization%2Fsyslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiblization%2Fsyslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansiblization%2Fsyslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansiblization","download_url":"https://codeload.github.com/ansiblization/syslog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918629,"owners_count":20368745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","debian","syslog","syslog-client","syslog-ng","syslog-server"],"created_at":"2024-09-25T05:33:13.851Z","updated_at":"2026-01-03T01:56:40.203Z","avatar_url":"https://github.com/ansiblization.png","language":"Jinja","readme":"# Ansible role for configuring a syslog service on Debian-based hosts\n\nThis role installs and configures a syslog-ng instance on a Debian-based host. It can be included in another role's dependencies to ensure that a proper syslog configuration exists before installing role-specific drop-in configuration files.\n\nThe variables that can be used to parametrize the syslog installation, along with their defaults, can be found below:\n\n```yml\nsyslog_owner: root # The user owning the generated log files and folders\nsyslog_group: adm # The group owning the generated log files and folders\nsyslog_dir_mode: \"0770\" # The ownership mode used for log folders\nsyslog_file_mode: \"0660\" # The ownership mode used for log files\n\nsyslog_use_fqdn: true # Keep the fully qualified domain name as the hostname in local and remote logs\nsyslog_use_dns: false # Use DNS reverse-lookup to resolve domain names of log origins\nsyslog_dns_cache: false # Use DNS cache for domain names of log origins\n\nsyslog_network_driver: syslog # The driver to use for network syslog connections. Possible values: `syslog` or `network` (legacy)\nsyslog_network_source: s_network # The name of the source for network logs (do not change unless you know what you are doing)\nsyslog_network_destination: d_network # The name of the destination for network logs (do not change unless you know what you are doing)\nsyslog_local_source: s_src # The name of the source for local logs (do not change unless you know what you are doing)\nsyslog_local_destination: d_local # The name of the destination for local logs (do not change unless you know what you are doing)\n\nsyslog_client_filter_level: null # Only send logs above this level to the remote syslog server, will send all logs if set to `null`\nsyslog_client_remote_server: null # Hostname or address of a remote syslog server to send logs to, will not connect to a server if set to `null`\nsyslog_client_transport: tcp # Transport to use for the connection to a remote syslog server. Possible values: `tcp` or `udp`\nsyslog_client_port: 514 # Remote syslog server port to connect to\n\nsyslog_server: false # If set to true, the syslog service will listen for incoming syslog connections from remote clients\nsyslog_server_tcp: true # Enable listening for TCP connections from remote syslog clients\nsyslog_server_udp: true # Enable listening for UDP connections from remote syslog clients\nsyslog_server_address: 0.0.0.0 # Address to listen on for remote connections, will listen on all addresses by default\nsyslog_server_port_tcp: 514 # Port to listen on for remote TCP connections\nsyslog_server_port_udp: 514 # Port to listen on for remote UDP connections\nsyslog_server_create_dirs: true # Automatically create directories for remote syslog clients\nsyslog_server_directory: /var/log/clients # Path to use to store logs received from remote syslog clients\nsyslog_server_file: \"${HOST}/${FACILITY}.log\" # File name format to use for logs from remote syslog clients\nsyslog_server_max_connections: 500 # Maximum number of simultaneous client connections to the syslog server\nsyslog_server_keep_hostname: true # Keep hostname for remote syslog client logs\n\nsyslog_server_logrotate_schedule: daily # Frequency of remote syslog client log rotation\nsyslog_server_logrotate_keep: 7 # Amount of old rotated logs to keep\nsyslog_server_logrotate_date: true # Append the date to rotated log file names\nsyslog_server_logrotate_create: false # Create new log file after log rotation\nsyslog_server_logrotate_compress: true # Compress rotated logs\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansiblization%2Fsyslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansiblization%2Fsyslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansiblization%2Fsyslog/lists"}