Logstash not sending logs to custom elasticsearch index

Here is my filebeat.yml configuration file
#=========================== 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: true

    Paths that should be crawled and fetched. Glob based paths.

    #- /var/log/*.log

    • /var/log/messages
    • /var/log/cron

and my logstash configuration file
input {

beats {
port => 5044


output {
elasticsearch {

  hosts => [""]
  index => "message_logs"


pls. help

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