Filebeat Startup (version 1.2)

(Atul Patel) #1

Hi all,

we are using version 1.2.while starting the filebeat using sudo service filebeat start|stop|restart from the command it is saying OK but when i greap for ps-ef | grep filebeat the process is not started.

Pls find the trace

sudo service filebeat start
Starting filebeat (via systemctl):                         [  OK  ]
$ sudo service filebeat status
â filebeat.service - filebeat
   Loaded: loaded (/usr/lib/systemd/system/filebeat.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2016-06-08 13:12:01 BST; 4s ago
  Process: 13066 ExecStop=/etc/init.d/filebeat stop (code=exited, status=0/SUCCESS)
  Process: 13044 ExecStart=/etc/init.d/filebeat start (code=exited, status=0/SUCCESS)
 Main PID: 13044 (code=exited, status=0/SUCCESS)

Jun 08 13:12:01 HOSTANME filebeat[13044]: [  OK  ]
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: logp.go:130: Disable stderr logging
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: beat.go:135: Initializing output plugins
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: geolite.go:24: GeoIP disabled: No paths were set under...ths
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: client.go:297: ES Ping(url=http://localhost:9200, time...0s)
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: client.go:302: Ping request failed with: Head http://l...sed
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: outputs.go:126: Activated elasticsearch as output plugin.
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: logstash.go:106: Max Retries set to: 3
Jun 08 13:12:01 HOSTANME /usr/bin/filebeat[13061]: client.go:100: connect
Jun 08 13:12:01 HOSTANME filebeat[13066]: Stopping filebeat: [  OK  ]
Hint: Some lines were ellipsized, use -l to show in full.

(ruflin) #2

It seems like elasticsearch is not reachable? What is the exact version you are using? 1.2.x?

(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.