github.com/observiq/bindplane-agent@v1.51.0/config/google_cloud_exporter/syslog/README.md (about) 1 # Syslog with Google Cloud 2 3 The Syslog receiver can be used to receive Syslog and forward to Google Cloud Logging. 4 5 ## Prerequisites 6 7 See the [prerequisites](../README.md) doc for Google Cloud prerequisites. 8 9 ## Examples 10 11 **Rsyslog RFC 3164** 12 13 Configure [Rsyslog forwarding](https://www.rsyslog.com/sending-messages-to-a-remote-syslog-server/) to the agent system. In this example, 14 the agent is installed on the Rsyslog system. 15 16 ``` 17 *.* action(type="omfwd" target="localhost" port="5140" protocol="udp") 18 ``` 19 20 This example will listen on localhost port `5140/udp` for RFC 3164 syslog, receiving syslog from 21 the local rsyslog service. 22 23 ```yaml 24 syslog: 25 udp: 26 listen_address: "0.0.0.0:5140" 27 protocol: rfc3164 28 ``` 29 30 **TCP RFC 5424** 31 32 This example will listen on all interfaces with port `54526/tcp` for RFC 5424 syslog. 33 34 ```yaml 35 syslog: 36 tcp: 37 listen_address: "0.0.0.0:54526" 38 protocol: rfc5424 39 ```