# Filebeat Client/Server Version Mismatch

**URL:** <https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 6, 2018, 9:53pm UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872 "2018-06-06T21:53:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dieg0](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dieg0](https://discuss.elastic.co/u/dieg0)\
**Post date:** [June 6, 2018, 9:53pm UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872/1 "2018-06-06T21:53:30Z")

</div>

We have one server (A) running a docker cluster (Node.js and Elasticsearch) and a separate server (B) running ELK Stack.

Logs should get shipped from Server A using filebet, it is installed independent from docker cluster.

Server B has Kafka to stream logs from Server A.

Everything seems to be setup ok but Filbeat logs:

[root@servera filebeat]# Exiting: Error in initing prospector: Error response from daemon: client is newer than server (client API version: 1.22, server API version: 1.19)

our filebeat yml

```
filebeat.prospectors:
- type: log
  paths:
    - /var/lib/docker/containers/*/*.log
  document_type: docker
  enabled: true
  processors:
    - add_docker_metadata: ~
output.kafka:
   hosts: ["172.30.20.78:9092", "172.30.20.78:9093", "172.30.20.78:9094"]
   topic: cgr-logs
   enabled: true

setup.template.settings:
  index.number_of_shards: 3

setup.kibana:
  host: "172.30.20.78:5601"

```

We don't know what client / server API is mismatching, do you know what could be the issue?

Server Running on RHEL 7 and filebeat version 6.2.4 (amd64), libbeat 6.2.4 and kafka\_2.11-0.10.0.1

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [June 7, 2018, 5:50am UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872/2 "2018-06-07T05:50:52Z")

</div>

This error is returned by the Docker daemon, which seems not to be compatible with our docker client. Any chance to upgrade it?

---

<div class="post-metadata">

**Author:** ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)\
**Post date:** [June 7, 2018, 7:08am UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872/3 "2018-06-07T07:08:09Z")

</div>

In our next release, 6.3.0, there is a fix to prevent this problem from happening:

> <https://github.com/elastic/beats/pull/7165>

---

<div class="post-metadata">

**Author:** ![dieg0](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@dieg0](https://discuss.elastic.co/u/dieg0)\
**Post date:** [June 7, 2018, 2:08pm UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872/4 "2018-06-07T14:08:49Z")

</div>

Ok thanks, this means we will have to downgrade filebeat. Do you know what filebeat version would be compatible with 1.19 Server API?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2018, 2:08pm UTC](https://discuss.elastic.co/t/filebeat-client-server-version-mismatch/134872/5 "2018-07-05T14:08:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
