1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-11-09 21:50:35 +00:00

Update input config and mount Graylog cert data

This commit is contained in:
Kris Lamoureux 2020-03-17 11:36:17 -04:00
parent bf200877c9
commit 1f7ac784fb
Signed by: kris
GPG Key ID: A30022791E1719A4
3 changed files with 13 additions and 3 deletions

View File

@ -1,13 +1,20 @@
{
"title": "Fluentd",
"title": "td-agent",
"type": "org.graylog2.inputs.gelf.tcp.GELFTCPInput",
"global": true,
"configuration": {
"bind_address": "0.0.0.0",
"decompress_size_limit": 8388608,
"recv_buffer_size": 1048576,
"max_message_size": 2097152,
"number_worker_threads": 4,
"port": 12201
"port": 12201,
"recv_buffer_size": 1048576,
"tcp_keepalive": false,
"tls_cert_file": "/usr/share/graylog/certs/rootCA.crt",
"tls_client_auth": "required",
"tls_enable": true,
"tls_key_file": "/usr/share/graylog/certs/rootCA.key",
"user_null_delimiter": true
},
"node": null
}

1
Vagrantfile vendored
View File

@ -106,6 +106,7 @@ Vagrant.configure("2") do |config|
# Fix permissions
chown -R vagrant:vagrant /home/vagrant/
chown -R 1100:1100 /home/vagrant/certs/graylog
# Wait 120 seconds for Graylog to come online
cd /vagrant

View File

@ -59,6 +59,8 @@ services:
- "traefik.http.services.graylog.loadbalancer.server.port=9000"
- "traefik.docker.network=vagrant_traefik-net"
- "traefik.enable=true"
volumes:
- /home/vagrant/certs/graylog:/usr/share/graylog/certs
networks:
- graylog
- traefik-net