mirror of
https://github.com/krislamo/graylog_demo
synced 2024-12-16 15:00:36 +00:00
Update input config and mount Graylog cert data
This commit is contained in:
parent
bf200877c9
commit
1f7ac784fb
@ -1,13 +1,20 @@
|
|||||||
{
|
{
|
||||||
"title": "Fluentd",
|
"title": "td-agent",
|
||||||
"type": "org.graylog2.inputs.gelf.tcp.GELFTCPInput",
|
"type": "org.graylog2.inputs.gelf.tcp.GELFTCPInput",
|
||||||
"global": true,
|
"global": true,
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"bind_address": "0.0.0.0",
|
"bind_address": "0.0.0.0",
|
||||||
"decompress_size_limit": 8388608,
|
"decompress_size_limit": 8388608,
|
||||||
"recv_buffer_size": 1048576,
|
"max_message_size": 2097152,
|
||||||
"number_worker_threads": 4,
|
"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
|
"node": null
|
||||||
}
|
}
|
||||||
|
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -106,6 +106,7 @@ Vagrant.configure("2") do |config|
|
|||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
chown -R vagrant:vagrant /home/vagrant/
|
chown -R vagrant:vagrant /home/vagrant/
|
||||||
|
chown -R 1100:1100 /home/vagrant/certs/graylog
|
||||||
|
|
||||||
# Wait 120 seconds for Graylog to come online
|
# Wait 120 seconds for Graylog to come online
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
|
@ -59,6 +59,8 @@ services:
|
|||||||
- "traefik.http.services.graylog.loadbalancer.server.port=9000"
|
- "traefik.http.services.graylog.loadbalancer.server.port=9000"
|
||||||
- "traefik.docker.network=vagrant_traefik-net"
|
- "traefik.docker.network=vagrant_traefik-net"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
volumes:
|
||||||
|
- /home/vagrant/certs/graylog:/usr/share/graylog/certs
|
||||||
networks:
|
networks:
|
||||||
- graylog
|
- graylog
|
||||||
- traefik-net
|
- traefik-net
|
||||||
|
Loading…
Reference in New Issue
Block a user