|
| 1 | +--- |
| 2 | +title: RabbitMQ |
| 3 | +weight: 200 |
| 4 | +generated_file: true |
| 5 | +--- |
| 6 | + |
| 7 | +## Overview |
| 8 | + |
| 9 | +Sends logs to RabbitMQ Queues. For details, see [https://github.com/nttcom/fluent-plugin-rabbitmq](https://github.com/nttcom/fluent-plugin-rabbitmq). |
| 10 | + |
| 11 | +## Example output configurations |
| 12 | + |
| 13 | +```yaml |
| 14 | +spec: |
| 15 | + rabbitmq: |
| 16 | + host: rabbitmq-master.namespace.svc.cluster.local |
| 17 | + user: test-user |
| 18 | + pass: test-pass |
| 19 | + port: 5672 |
| 20 | + buffer: |
| 21 | + timekey: 10m |
| 22 | + timekey_wait: 30s |
| 23 | + timekey_use_utc: true |
| 24 | +``` |
| 25 | + |
| 26 | +## Configuration |
| 27 | + |
| 28 | +### app_id (string, optional) {#output config-app_id} |
| 29 | + |
| 30 | +Application Id |
| 31 | + |
| 32 | + |
| 33 | +### auth_mechanism (string, optional) {#output config-auth_mechanism} |
| 34 | + |
| 35 | +Auth Mechanism |
| 36 | + |
| 37 | + |
| 38 | +### automatically_recover (bool, optional) {#output config-automatically_recover} |
| 39 | + |
| 40 | +Automatic network failure recovery |
| 41 | + |
| 42 | + |
| 43 | +### buffer (*Buffer, optional) {#output config-buffer} |
| 44 | + |
| 45 | +[Buffer](../buffer/) |
| 46 | + |
| 47 | + |
| 48 | +### connection_timeout (int, optional) {#output config-connection_timeout} |
| 49 | + |
| 50 | +Connection Timeout |
| 51 | + |
| 52 | + |
| 53 | +### content_encoding (string, optional) {#output config-content_encoding} |
| 54 | + |
| 55 | +Message content encoding |
| 56 | + |
| 57 | + |
| 58 | +### content_type (string, optional) {#output config-content_type} |
| 59 | + |
| 60 | +Message content type |
| 61 | + |
| 62 | + |
| 63 | +### continuation_timeout (int, optional) {#output config-continuation_timeout} |
| 64 | + |
| 65 | +Continuation Timeout |
| 66 | + |
| 67 | + |
| 68 | +### exchange (string, required) {#output config-exchange} |
| 69 | + |
| 70 | +Name of the exchange |
| 71 | + |
| 72 | + |
| 73 | +### exchange_durable (bool, optional) {#output config-exchange_durable} |
| 74 | + |
| 75 | +Exchange durability |
| 76 | + |
| 77 | + |
| 78 | +### exchange_no_declare (bool, optional) {#output config-exchange_no_declare} |
| 79 | + |
| 80 | +Weather to declare exchange or not |
| 81 | + |
| 82 | + |
| 83 | +### exchange_type (string, required) {#output config-exchange_type} |
| 84 | + |
| 85 | +Type of the exchange |
| 86 | + |
| 87 | + |
| 88 | +### expiration (int, optional) {#output config-expiration} |
| 89 | + |
| 90 | +Message message time-to-live |
| 91 | + |
| 92 | + |
| 93 | +### format (*Format, optional) {#output config-format} |
| 94 | + |
| 95 | +[Format](../format/) |
| 96 | + |
| 97 | + |
| 98 | +### frame_max (int, optional) {#output config-frame_max} |
| 99 | + |
| 100 | +Maximum permissible size of a frame |
| 101 | + |
| 102 | + |
| 103 | +### heartbeat (string, optional) {#output config-heartbeat} |
| 104 | + |
| 105 | +Heartbeat: integer as seconds or server (interval specified by server) |
| 106 | + |
| 107 | + |
| 108 | +### host (string, optional) {#output config-host} |
| 109 | + |
| 110 | +Host |
| 111 | + |
| 112 | + |
| 113 | +### hosts ([]string, optional) {#output config-hosts} |
| 114 | + |
| 115 | +Hosts |
| 116 | + |
| 117 | + |
| 118 | +### id_key (string, optional) {#output config-id_key} |
| 119 | + |
| 120 | +Id to specify message_id |
| 121 | + |
| 122 | + |
| 123 | +### message_type (string, optional) {#output config-message_type} |
| 124 | + |
| 125 | +Message type |
| 126 | + |
| 127 | + |
| 128 | +### network_recovery_interval (int, optional) {#output config-network_recovery_interval} |
| 129 | + |
| 130 | +Network Recovery Interval |
| 131 | + |
| 132 | + |
| 133 | +### pass (*secret.Secret, optional) {#output config-pass} |
| 134 | + |
| 135 | +Pass |
| 136 | + |
| 137 | + |
| 138 | +### persistent (bool, optional) {#output config-persistent} |
| 139 | + |
| 140 | +Messages are persistent to disk |
| 141 | + |
| 142 | + |
| 143 | +### port (int, optional) {#output config-port} |
| 144 | + |
| 145 | +Port |
| 146 | + |
| 147 | + |
| 148 | +### priority (int, optional) {#output config-priority} |
| 149 | + |
| 150 | +Message priority |
| 151 | + |
| 152 | + |
| 153 | +### recovery_attempts (int, optional) {#output config-recovery_attempts} |
| 154 | + |
| 155 | +Recovery Attempts |
| 156 | + |
| 157 | + |
| 158 | +### routing_key (string, optional) {#output config-routing_key} |
| 159 | + |
| 160 | +Routing key to route messages |
| 161 | + |
| 162 | + |
| 163 | +### tls (bool, optional) {#output config-tls} |
| 164 | + |
| 165 | +Enable TLS or not |
| 166 | + |
| 167 | + |
| 168 | +### tls_ca_certificates ([]string, optional) {#output config-tls_ca_certificates} |
| 169 | + |
| 170 | +Path to TLS CA certificates files |
| 171 | + |
| 172 | + |
| 173 | +### tls_cert (string, optional) {#output config-tls_cert} |
| 174 | + |
| 175 | +Path to TLS certificate file |
| 176 | + |
| 177 | + |
| 178 | +### tls_key (string, optional) {#output config-tls_key} |
| 179 | + |
| 180 | +Path to TLS key file |
| 181 | + |
| 182 | + |
| 183 | +### timestamp (bool, optional) {#output config-timestamp} |
| 184 | + |
| 185 | +Time of record is used as timestamp in AMQP message |
| 186 | + |
| 187 | + |
| 188 | +### user (*secret.Secret, optional) {#output config-user} |
| 189 | + |
| 190 | +User |
| 191 | + |
| 192 | + |
| 193 | +### vhost (string, optional) {#output config-vhost} |
| 194 | + |
| 195 | +VHost |
| 196 | + |
| 197 | + |
| 198 | +### verify_peer (*bool, optional) {#output config-verify_peer} |
| 199 | + |
| 200 | +Verify Peer or not |
| 201 | + |
| 202 | +Default: true |
| 203 | + |
| 204 | + |
0 commit comments