Questions tagged [fluentd]

Fluentd is open-source and distributed data collector, which receives logs in JSON format, buffers them, and sends them to other systems like Amazon S3, MongoDB, Hadoop, Loki(Grafana system) or other Fluentds.

1336 questions
0
votes
1 answer

Can I use a dot in a config file of Fluentd using DSL?

guys. I'm been using Fluentd on my Rails app, and I want to write the config file of Fluentd using DSL. However, my config file doesn't work well. This may be caused by a dot. Here is my config file. # config/fluent/fluent.rb source { type…
tsk
  • 225
  • 3
  • 9
0
votes
2 answers

get docker log stream in correct order

I've tried a couple of log collection services now, like logspout/papertrail and fluentd/elasticsearch, but the results don't always show up in the correct order, which can make debugging difficult. An example is with a Node.js application, a…
Reese
  • 1,746
  • 1
  • 17
  • 40
0
votes
1 answer

fluentd install not working

I am trying to install td-agent on my linux machine and i am getting the following error. Command: curl -L https://td-toolbelt.herokuapp.com/sh/install-redhat-td-agent2.sh | sh Output: % Total % Received % Xferd Average Speed Time Time …
Nikhil
  • 31
  • 2
  • 5
0
votes
1 answer

Preferred way of aggregating logs

What would be the best way to handle logs on Google Container Engine? By looking at the running pods I can see that every node is automatically running a fluentdservice. Can we tap into that to get our logs into Developer Console?
luopio
  • 507
  • 4
  • 14
0
votes
2 answers

td-agent praser nginx log cpu 100%

my english is not good ,sorry ... these days ,i always test td-agent on AWS EC2(Amazon Linux AMI release 2014.03). input log from nginx and output log to S3 is OK, this very good! then i want praser log to json ,when i made the source format "nginx"…
WRJ
  • 11
  • 5
0
votes
1 answer

fluent and webhdfs filename with 197001011

I run td-agent on ubuntu 14.04 with the follow configuration: type tail format json path /path/tomcat/logs/file-input.log tag bhc.hdfs pos_file /var/td-agent/file.pos
critical
  • 135
  • 1
  • 1
  • 7
0
votes
1 answer

Failed to Install fluentd redshift plugin on ubuntu 14.04.1 Can't find the PostgreSQL client library (libpq)

It's a brand new AWS ubuntu 14.04.1 VM. After launching it, did the following trying to install fluentd redshift plugin. sudo su curl -L http://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | sh apt-get install libpq-dev apt-get…
xigua
  • 35
  • 5
0
votes
1 answer

How can i map custom date format in elasticsearch and Kibana4

I have nginx logs and i have this date format [02/Mar/2015:13:02:51 +0000] What should i use in elasticsearch and what i should put in the dateformat field of Kibana4? curl -XGET 'http://localhost:9200/_mapping?pretty' { "nginx" : { "mappings" :…
Ayman Al-Shorman
  • 190
  • 1
  • 2
  • 18
0
votes
1 answer

Using id_key with fluentd/elasticsearch

I recently started attempting to use the fluentd + elasticsearch + kibana setup. I'm currently feeding information through fluentd by having it read a log file I'm spitting out with python code. The log is made out of a list of json data, one per…
Cong Hui
  • 202
  • 5
  • 16
0
votes
1 answer

td-agent is not working for apache logs

I need one help, I'm also using td-agent newest version at my ubuntu 12.04 for parsing apache logs to mongodb, in config if i put "format none", then it creates a mongo document and pushes everything to message key, but when I say "format apache" or…
Williams
  • 1
  • 2
0
votes
1 answer

How to forward log files into fluentd

I want to setup elasticsearch with kibana and fluentd. I have two machines. Machine 1 is working as a source of log files. Logs are created with every http request and every request is stored into seperate log file. Log path strcuture is like…
Petr Velký
  • 371
  • 2
  • 5
  • 16
0
votes
1 answer

Hive create table statement for Fluentd Apache log data

I'm using Fluentd to capture and consolidate Apache log data in HDFS. I configured the agent to write the data to HDFS, i.e. the /etc/td-agent/td-agent.conf file contains: type tail path /var/log/httpd/access_log pos_file…
Alex Woolford
  • 4,433
  • 11
  • 47
  • 80
0
votes
1 answer

Collect logs from clients of flavours of system

I am trying to get logs securely. There are machines in public domain from where I need to get logs (windows / linux flavors) and I intend to make use of a framework like Flume / FluentD. Any idea if this is doable in secure way?
user3044440
  • 115
  • 9
0
votes
0 answers

what is the time that fluentd write to log file

This is a record that fluentd write to my log in hdfs: 2014-11-30 00:00:01 abc@gmail.com 123532 221241 The first field is the time key from Fluentd, but i don't know if it is the time that the record was stored in buffer or when it was…
SieuCau
  • 195
  • 1
  • 2
  • 15
0
votes
2 answers

Array of values in FluentD

How to create array of values in the event record with FluentD? I have parsed latitude and longitude from the log. How to transform these values to an array ? Ex. I have a log like 2014-9-23T09:27:28.345 1411464370345 -37.0081,174.792 BBC SEARCH…
Ahamed Mustafa M
  • 3,069
  • 1
  • 24
  • 34