log_source: authorization
- type: log
enabled: true
paths:
- /var/logs/springboot/sparksys-gateway.log
fields:
log_source: gateway
- type: log
enabled: true
paths:
- /var/logs/springboot/sparksys-file.log
fields:
log_source: file
- type: log
enabled: true
paths:
- /var/logs/springboot/sparksys-oauth.log
fields:
log_source: oauth
#================================ Outputs =====================================
#-------------------------- Elasticsearch output ------------------------------
#output.elasticsearch:
Array of hosts to connect to.
hosts: [“192.168.3.3:9200”]
#----------------------------- Logstash output --------------------------------