Skip to content

va1da5/journald-to-logstash-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Journald to Logstash HTTP Using FluentBit

The repository contains Ansible playbooks that facilitate the configuration of servers to transmit their logs from JournalD to a remote aggregator via HTTP. It includes example configurations for RSyslog and Fluent-Bit.

Requirements

Initial Steps

# start servers
export LIBVIRT_DEFAULT_URI=qemu:///system
export VAGRANT_DEFAULT_PROVIDER=libvirt

vagrant box update
vagrant up

vagrant status
ssh
# install required Ansbile roles
ansible-galaxy install -r requirements.yml

Configure Forwarders

ansible-playbook ansible/main.yml

# test connection
curl -v -X POST http://192.168.123.50:8080/json \
      -H 'Content-Type: application/json' \
      -d '{"hello":"world","number":42, "bool": true}'

References