# Elastic, Kibana, filebeat failed sending data to elastic

**URL:** <https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 28, 2019, 9:00am UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278 "2019-03-28T09:00:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjk](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@kjk](https://discuss.elastic.co/u/kjk)\
**Post date:** [March 28, 2019, 9:00am UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/1 "2019-03-28T09:00:30Z")

</div>

I have a problem with sending data from filebeat to elasticsearch

filebeat ver. filebeat-6.6.2-linux-x86\_64

./filebeat setup

> Loaded index template  
> Loading dashboards (Kibana must be running and reachable)  
> Loaded dashboards  
> Loaded machine learning job configurations

./filebeat test output

> elasticsearch: [http://xx.xx.xx.xx:9200](http://xx.xx.xx.xx:9200)...  
> parse url... OK  
> connection...  
> parse host... OK  
> dns lookup... OK  
> addresses: xx.xx.xx.xx  
> dial up... OK  
> TLS... WARN secure connection disabled  
> talk to server... OK  
> version: 6.5.1

./filebeat modules list

> Enabled:  
> apache2
> 
> Disabled:  
> auditd  
> elasticsearch  
> haproxy  
> icinga  
> iis  
> kafka  
> kibana  
> logstash  
> mongodb  
> mysql  
> nginx  
> osquery  
> postgresql  
> redis  
> suricata  
> system  
> traefik

./filebeat export config

> ```
> filebeat:
> config:
> modules:
> path: /xxx/xxx/filebeat-6.6.2-linux-x86_64/modules.d/*.yml
> reload:
> enabled: false
> inputs:
> - enabled: false
> paths:
> - /home/xxx/logs/*.log
> type: log
> output:
> elasticsearch:
> hosts:
> - xx.xx.xx.xx:9200
> path:
> config: /xxx/xxx/filebeat-6.6.2-linux-x86_64
> data: /xxx/xxx/filebeat-6.6.2-linux-x86_64/data
> home: /xxx/xxx/filebeat-6.6.2-linux-x86_64
> logs: /xxx/xxx/filebeat-6.6.2-linux-x86_64/logs
> processors:
> - add_host_metadata: null
> - add_cloud_metadata: null
> setup:
> kibana:
> host: xx.xx.xx.xx:8086
> template:
> settings:
> index:
> number_of_shards: 3
> 
> ```

configuration apache module

> ```
> - module: apache2
> # Access logs
> access:
> enabled: true
> 
> # Set custom paths for the log files. If left empty,
> # Filebeat will choose the paths depending on your OS.
> var.paths: ["/xxx/xxx/logs/http_access.log"]
> 
> # Error logs
> error:
> enabled: true
> 
> # Set custom paths for the log files. If left empty,
> # Filebeat will choose the paths depending on your OS.
> var.paths: ["/xxx/xxx/logs/http_error.log"]
> 
> ```

When i start filebeat i have an error  
./filebeat -e

> ```
> 2019-03-28T09:58:08.354+0100 INFO crawler/crawler.go:72 Loading Inputs: 1
> 2019-03-28T09:58:08.358+0100 INFO log/input.go:138 Configured paths: [/xxx/xxx/logs/http_error.log]
> 2019-03-28T09:58:08.359+0100 INFO log/input.go:138 Configured paths: [/xxx/xxx/logs/http_access.log]
> 2019-03-28T09:58:08.359+0100 INFO crawler/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 0
> 2019-03-28T09:58:08.359+0100 INFO cfgfile/reload.go:150 Config reloader started
> 2019-03-28T09:58:08.363+0100 INFO log/input.go:138 Configured paths: [/xxx/xxx/logs/http_access.log]
> 2019-03-28T09:58:08.364+0100 INFO log/input.go:138 Configured paths: [/xxx/xxx/logs/http_error.log]
> 2019-03-28T09:58:08.364+0100 INFO elasticsearch/client.go:165 Elasticsearch url: http://xx.xx.xx.xx:9200
> 2019-03-28T09:58:08.366+0100 INFO elasticsearch/client.go:721 Connected to Elasticsearch version 6.5.1
> 2019-03-28T09:58:08.367+0100 ERROR fileset/factory.go:142 Error loading pipeline: Error loading pipeline for fileset apache2/access: This module requires the following Elasticsearch plugins: ingest-user-agent, ingest-geoip. You can install them by running the following commands on all the Elasticsearch nodes:
> sudo bin/elasticsearch-plugin install ingest-user-agent
> sudo bin/elasticsearch-plugin install ingest-geoip
> 
> ```

I also install in elasticsearch this modules  
./bin/elasticsearch-plugin list

> ```
> ingest-geoip
> ingest-user-agent
> 
> ```

And I have still this problem. What I have to do with this.

---

<div class="post-metadata">

**Author:** ![sumith\_naduvath](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@sumith\_naduvath](https://discuss.elastic.co/u/sumith_naduvath)\
**Post date:** [March 28, 2019, 12:23pm UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/2 "2019-03-28T12:23:46Z")

</div>

Hi All,

I am using filebeat to forward data coming from an external splunk server to logstash. Can someone please share a good configuration which can include the meta data information of the logs as well.

==

filebeat.inputs:

- type: tcp

max\_message\_size: 10MiB

host: "X.X.X.X.X:9200"

#since log is coming from a splunk server this is working fine, however the meta data info is not being carried over to my elastic search.

output.elasticsearch:

hosts: ["[http://X.X.X.X:9200/](http://X.X.X.X:9200/)"]

output.elasticsearch.index: "filebeat-%{[beat.version]}-%{+yyyy.MM.dd}"

setup.template.name: "filebeat"

setup.template.pattern: "filebeat-\*"

===

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [March 28, 2019, 12:25pm UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/3 "2019-03-28T12:25:40Z")

</div>

This is an ES problem, please post your question in the appropriate subforum.

---

<div class="post-metadata">

**Author:** ![kjk](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@kjk](https://discuss.elastic.co/u/kjk)\
**Post date:** [March 28, 2019, 1:33pm UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/4 "2019-03-28T13:33:24Z")

</div>

ok I change it.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 28, 2019, 3:05pm UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/5 "2019-03-28T15:05:58Z")

</div>

I moved your question to #beats:filebeat.

---

<div class="post-metadata">

**Author:** ![kjk](https://avatars.discourse-cdn.com/v4/letter/k/db5fbb/32.png) [@kjk](https://discuss.elastic.co/u/kjk)\
**Post date:** [April 8, 2019, 8:16am UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/6 "2019-04-08T08:16:30Z")

</div>

Can someone can help me to solve this problem?

---

<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:** [May 6, 2019, 8:22am UTC](https://discuss.elastic.co/t/elastic-kibana-filebeat-failed-sending-data-to-elastic/174278/8 "2019-05-06T08:22:33Z")

</div>

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