VictoriaMetrics Q1 Meet Up '24 - Community & News Update
Shipping your logs to elk from mule app/cloudhub part 2
1. Shipping your logs to ELK
from mule app/cloudhub -
Part 2
A guide by Alex Fernandez
2. Log4j
Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the
improvements available in Logback while fixing some inherent problems in Logback's architecture.
4. Configuring Logstash
Logstash can listen to port and can receive
packets of data from log4j
Logstash will listen to port 3333, with the type of
log4j and will be sent out to elasticsearch
*Note: elasticsearch is a link in docker that tells
that logstash will connect to elasticsearch
‘container.’
5. docker-compose.yml
We have 3 containers, 1
elasticsearch, 1 logstash container
and kibana. There ports are exposed
and linked together.
* Note: I am docker installed in a mac
https://docs.docker.com/engine/installation/mac/