type tdlog
apikey YOUR_API_KEY
auto_create_table
buffer_type file
buffer_path /var/log/td-agent/buffer/td
type file
path /var/log/td-agent/failed_records
type stdout
type forward
# Fluentd
type http
port 8888
type debug_agent
bind 127.0.0.1
port 24230
# Spring Boot Log
type tail
path {% Please update this setting to spring logs's path. %}
tag application.log
format /^(?
type elasticsearch
type_name spring_log
# Elasticsearch
name localhost
host 127.0.0.1
port 9200
logstash_format true
logstash_prefix spring_log
include_tag_key true
tag_key @log_name
flush_interval 5s