Reputation: 411
I am trying to display the iris data in kibana by connecting to elasticsearch and creating an index called "iris" in R. I am taking the following steps:
Execute elasticsearch 5.5.3 batch file (localhost:9200 displays results on web)
Run the following code in R (connects and displays the iris search result successfully)
**library(elasticsearchr)
es<- elastic("http://localhost:9200", "iris", "data")
es %index% iris
for_everything <- query('{ "match_all": {} }')
es %search% for_everything**
Run Kibana 5.5.3 batch file (checked yml file which says #elasticsearch.url: "http://localhost:9200")
However, Kibana can't search the index "iris" as shown below:
I tried running the logstash 5.5.3 batchfile before step 3, but it generated an error message on command prompt and closed. Another weird thing is that I don't see any index created on localhost:9200 on web, while searching for index in R shows results. Plus, below is the message I get when I start in step 1. FYI, result of http://localhost:9200/_cat/indices This is a snapshot of my kibana management > index pattern page.
Upvotes: 0
Views: 1551
Reputation: 2179
you should add index pattern
to kibana via management -> kibana -> index patterns.
at the moment you are searching "iris" word on none of your index. also i think you must change your search phrase.
Upvotes: 1