Hello, I'm very noob in all of this.
I have been seeing some tutorials online but it doesn't work for me.
I want to configure a Logstash+Elasticsearch+Kibana
In order to see the logings from any browser typing "http://IP:80"
In my kibana config.js I have this>
* ==== elasticsearch
*
* The URL to your elasticsearch server. You almost certainly don't
* want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
* the same host. By default this will attempt to reach ES at the same host you have
* kibana installed on. You probably want to set it to the FQDN of your
* elasticsearch host
*
* Note: this can also be an object if you want to pass options to the http client. For example:
*
* +elasticsearch: {server: "http://localhost:9200", withCredentials: true}+
*
*/
elasticsearch: "http://localhost:80",
In my nginx.conf I have
# Nginx proxy for Elasticsearch + Kibana
#
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
#
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
#
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of
# http://FQDN:9200
#
server {
listen *:80 ;
server_name localhost;
access_log /var/log/nginx/kibana.myhost.org.log;
location / {
root /var/www/kibana3;
index index.html index.htm;
}
location ~ ^/_aliases$ {
proxy_pass http://127.0.0.1:9200;
proxy_read_timeout 90;
}
When I try to access to IP:2900 I obtain the elasticsearch configuration >
{
"ok" : true,
"status" : 200,
"name" : "Franz Kafka",
"version" : { ....
So it seems to be OK.
However when I try to access to IP:80 I obtain the NGINX welcome page instead of the KIBANA page...
Could you please tel me where could be the problem? I'm sure that it isbecause the configuration files..
Please help me
Thank you very much