Indices name in logstash conf not reflecting in kibana

i m using 7.5.2 version of ELK .

my pipeline is as follows: Beast -> logstash -> elastic-search-> kibana

i am giving the indices name in my logstash conf file but its not reflecting in my kibana. its is showing the default indice name which is "logstash" in kibana dashboard. i restarted the logstash service as well.

my config is as below:

input {
    beats {
        port => "5044"
    }
}
# The filter part of this file is commented out to indicate that it is
# optional.
# filter {
#
# }
filter {
  if [type] == "syslog" {
    grok {
      match => { "message" => "%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}" }
      add_field => [ "received_at", "%{@timestamp}" ]
      add_field => [ "received_from", "%{host}" ]
    }
  }
}

output {
    elasticsearch {
        hosts => [ "10.x.x.x:9200", "10.x.x.x:9200", "x.x.x.x:9200" ]
        ilm_rollover_alias => "my-logstash-indice"
        ilm_pattern => "{now/d}-000001"
        ilm_policy => "logstash"
    }
}

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