# Problem with the stream log filebeat to logstash

**URL:** <https://discuss.elastic.co/t/problem-with-the-stream-log-filebeat-to-logstash/309007>\
**Category:** Logstash\
**Created:** [July 6, 2022, 11:39am UTC](https://discuss.elastic.co/t/problem-with-the-stream-log-filebeat-to-logstash/309007 "2022-07-06T11:39:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnotherGuy](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AnotherGuy](https://discuss.elastic.co/u/AnotherGuy)\
**Post date:** [July 6, 2022, 11:39am UTC](https://discuss.elastic.co/t/problem-with-the-stream-log-filebeat-to-logstash/309007/1 "2022-07-06T11:39:21Z")

</div>

Okay ... I'm done i don't know how to resolv my problem with the stream log.

I do the all step on the

> **[Filebeat quick start: installation and configuration | Filebeat Reference...](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html)**

i modif my filebeat.yml like that:

```auto
filebeat.inputs:

- type: log
  enabled: true
  paths:
    - /home/epnp/epnp-docker-share/bowl-automotive/tmp/reference-data/*.log
  tags: ["iocore_data"]

- type: filestream
  id: my-filestream-id
  enabled: false
  paths:
    - /var/log/*.log

filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false

setup.template.settings:
  index.number_of_shards: 1

setup.kibana:
  host: "192.168.66.183:5601"

output.logstash:
  hosts: ["192.168.66.183:5044"]

processors:
  - add_host_metadata:
      when.not.contains.tags: forwarded
  - add_cloud_metadata: ~
  - add_docker_metadata: ~
  - add_kubernetes_metadata: ~

```

I have all log in real time in the

> /home/epnp/epnp-docker-share/bowl-automotive/tmp/reference-data/\*.log

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63354490fc5de3b644446ca5eb92e401b4ea54ce.png)

and my logstash.conf :

```auto

input {
  beats {
    port => 5044
    id => "from_filebeat"
  }
}

output {
  elasticsearch {
    #hosts => ["http://localhost:9200"]
    hosts => ["http://192.168.66.183:9200"]
    #manage_template => false
    index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
    #user => "elastic"
    #password => "changeme"
  }
}
....

```

If someone know why i'm not gettings logs that can be cool.

---

<div class="post-metadata">

**Author:** ![AnotherGuy](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@AnotherGuy](https://discuss.elastic.co/u/AnotherGuy)\
**Post date:** [July 6, 2022, 12:30pm UTC](https://discuss.elastic.co/t/problem-with-the-stream-log-filebeat-to-logstash/309007/3 "2022-07-06T12:30:09Z")

</div>

Okay i resolv the problem, i removed filebeat & follow the install [Filebeat quick start: installation and configuration | Filebeat Reference [7.17] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/7.17/filebeat-installation-configuration.html)

after the setup it's work's !

---

<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:** [August 3, 2022, 12:30pm UTC](https://discuss.elastic.co/t/problem-with-the-stream-log-filebeat-to-logstash/309007/4 "2022-08-03T12:30:40Z")

</div>

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