# Filebeat configuration with output elasticsearch Issue

**URL:** <https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 14, 2019, 9:52am UTC](https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377 "2019-02-14T09:52:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [February 14, 2019, 9:52am UTC](https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377/1 "2019-02-14T09:52:30Z")

</div>

HI Team,  
I'm using filebeat version 6.4.0 configuration with output as elasticsearch but I can't find data into the index.

Please find the configuration for your kind reference,

```
###################### Filebeat Configuration Example #########################

# This file is an example configuration file highlighting only the most common
# options. The filebeat.reference.yml file from the same directory contains all the
# supported options with more comments. You can use it as a reference.
#
# You can find the full configuration reference here:
# https://www.elastic.co/guide/en/beats/filebeat/index.html

# For more available modules and options, please see the filebeat.reference.yml sample
# configuration file.

#=========================== Filebeat inputs =============================

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so
# you can use different inputs for various configurations.
# Below are the input specific configurations.

- type: log

  # Change to true to enable this input configuration.
  enabled: false

  # Paths that should be crawled and fetched. Glob based paths.
  paths:
    #- /var/log/*.log
    - C:\Go\unirest\go\unirest\output.json
#============================= Filebeat modules ===============================

filebeat.config.modules:
  # Glob pattern for configuration loading
  path: ${path.config}/modules.d/*.yml

  # Set to true to enable config reloading
  reload.enabled: false

  # Period on which files under path should be checked for changes
  #reload.period: 10s

#==================== Elasticsearch template setting ==========================

setup.template.settings:
  index.number_of_shards: 3
  #index.codec: best_compression
  #_source.enabled: false

#================================ General =====================================

#============================== Kibana =====================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:

  # Kibana Host
  # Scheme and port can be left out and will be set to the default (http and 5601)
  # In case you specify and additional path, the scheme is required: http://localhost:5601/path
  # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
  #host: "localhost:5601"

#================================ Outputs =====================================

# Configure what output to use when sending the data collected by the beat.

#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["localhost:9200"]
  index: "qoe_nrt_qoe_attributes"
setup.template.name: "qoe_nrt_qoe_attributes"
setup.template.pattern: "qoe_nrt_qoe_attributes"

  # Optional protocol and basic auth credentials.
  #protocol: "https"
  #username: "elastic"
  #password: "changeme"

```

Message in command prompet:

`2019-02-14T15:26:46.676+0530 INFO [monitoring] log/log.go:141 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":171},"total":{"ticks":249,"value":249},"user":{"ticks":78}},"info":{"ephemeral_id":"273d1db7-9032-45a5-9a69-3f828b4d6509","uptime":{"ms":660513}},"memstats":{"gc_next":4194304,"memory_alloc":1672392,"memory_total":4851552}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0}}}}}`

---

<div class="post-metadata">

**Author:** ![Ganesh2303](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Ganesh2303](https://discuss.elastic.co/u/Ganesh2303)\
**Post date:** [February 18, 2019, 7:19am UTC](https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377/2 "2019-02-18T07:19:05Z")

</div>

Anyone help me on this, where i'm committing mistake?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [February 18, 2019, 6:57pm UTC](https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377/3 "2019-02-18T18:57:39Z")

</div>

Looks like you have no input and no modules configured.

---

<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:** [March 18, 2019, 6:57pm UTC](https://discuss.elastic.co/t/filebeat-configuration-with-output-elasticsearch-issue/168377/4 "2019-03-18T18:57:48Z")

</div>

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