Couldn't find any Elasticsearch data

Hi All,

i have issue in kibana where Elasticsearch data is not showing below are the details

I have deploy through docker compose

http://52.xxx.xxx.xxx::9200/_cat/indices?v

health status index     uuid                   pri rep docs.count docs.deleted store.size pri.store.size
green  open   .kibana_1 Q_mK3wT1TGq8MfqcgGhRUQ   1   0          1            0      3.7kb          3.7kb

http://52.xxx.xxx.xxx:9200/

{
  "name" : "1765ff4860a9",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "rTW-6zawQzqgIi4MX4Aqhw",
  "version" : {
    "number" : "7.0.1",
    "build_flavor" : "oss",
    "build_type" : "docker",
    "build_hash" : "e4efcb5",
    "build_date" : "2019-04-29T12:56:03.145736Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.7.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

logstash.conf

input {
	tcp {
		port => 5044
                codec => "json"
#                type => "rsyslog" 
	}
}

#filter {
#    json {
#        source => "message"
#        skip_on_invalid_json => true
#    }
#}

## Add your filters / logstash plugins configuration here

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
                user => "xxxx"
                password => "xxxx"
	}
#        stdout { codec => rubydebug }
}

kibana.yml

server.name: kibana
server.host: "0"
elasticsearch.hosts: http://nginx
elasticsearch.username: "xxxx"
elasticsearch.password: "xxxxx"
elastalert-kibana-plugin.serverHost: elastalert
elastalert-kibana-plugin.serverPort: 3030

Anyone tell me where im wrong

You are running a very old version that does not have any security built in (oss distribution) so I do not see how your Kibana and Logstash can be correct. I would recommend you upgrade to the latest version and set upo security across the stack.

Now, i have change the images
here is the look at it

{
  "name" : "7d4549fc3a94",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "rTW-6zawQzqgIi4MX4Aqhw",
  "version" : {
    "number" : "7.0.1",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "e4efcb5",
    "build_date" : "2019-04-29T12:56:03.145736Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.7.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

still its not showing that Couldn't find any Elasticsearch data. Please tell me how it works i'm new to it

i have install nginx, logstash, kibana and elasticsearch as docker compose dont know why elasticsearch data is not showing in kibana

How to generate automatic index patter

Please follow instaructions from elastic.co website for installation.

If still unable to find error, see if have elasticsearch log file and see the error in log file
eg: in my system , I run log file: tail -f /var/log/elasticsearch.log
and see what error the log file throws up.

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