Loading config file error: open filebeat.yml: function not implemented


(iyaozhen) #1

$ ./filebeat -c filebeat.yml -e
Loading config file error: Failed to read filebeat.yml: open filebeat.yml: function not implemented. Exiting.

my system:
LSB Version: :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3

filebeat: filebeat-1.2.0-x86_64.tar.gz and 1.1.2

glibc: ldd (GNU libc) 2.3.4

Others same server run success. I doubt this server have problem, I should also check what other places ?

Thx


How tcp input add fields?
(Andrew Kroh) #2

According to the Go system requirements [1] the minimum kernel is Linux 2.6.23, and you are running kernel 2.6.9-34 [2]. I'm actually surprised it didn't burst into :fire: because Go apps normally won't even run on RHEL 5.

So you have Filebeat running on other RHEL 4 servers?

References
1 -- https://golang.org/doc/install
2 -- https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux


(iyaozhen) #3

Oh, my mistake.
this server:
cat /proc/version
Linux version 2.6.9_5-9-0-0 (stlrelease@xxx) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Wed Jun 23 14:03:19 CST 2010
others server:
cat /proc/version
Linux version 2.6.32_1-12-0-0 (scmpf@xxx) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Aug 12 17:59:52 CST 2013

But lsb_release -a and ldd --version show same:
LSB Version: :core-3.0-amd64:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Release: 4
Codename: NahantUpdate3

ldd (GNU libc) 2.3.4

Maybe my company use custom(edited) server system(RHEL 4). :sweat_smile:


(iyaozhen) #4

Thanks you very much. :kissing_heart:

But So, the question is can I use python publish data to logstash?


(Magnus Bäck) #5

But So, the question is can I use python publish data to logstash?

Sure. You can stream events over TCP, send UDP datagrams, post via HTTP, ...


(iyaozhen) #6

Thx, I try.


(iyaozhen) #7

I code a filebeat.py to fixed this problem, and I work well over the past few months. It is released 1.0 version, maybe some people need it.


(system) #8