this is my simple logstash config for fluentd. I saw from documentation that
fluentd running on port 8888.
Also I could not output to Elasticsearch. and it says connection refused.
can some one tell me what is wrong ? I am new to fluentd.
input {
tcp {
codec => fluent
port => 8888
}
}
output {
stdout {}
}
------------flentd config
<match td..>
@type tdlog
@id output_td
apikey YOUR_API_KEY
auto_create_table
@type file
path /var/log/td-agent/buffer/td
<match debug.**>
@type stdout
@id output_stdout
<match *.**>
type copy
type elasticsearch
host localhost
port 9200
include_tag_key true
tag_key @log_name
logstash_format true
flush_interval 10s