KIBANA-3.0.0 install nginx step by step


(Anikessh Jain) #1

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the steps
or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

Take a look at
http://logstash.net/docs/1.4.0/tutorials/getting-started-with-logstash
This will help on the kibana front, just edit to suit

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikesshjain88@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624ZQrT8_uYYzR2X-5AnEbcrTgd9q%3DFn0%3DG9-rkrRS6btfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Anikessh Jain) #3

Hi Mark thanks for the help,but my query is where to save the Kibana folder
in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at
http://logstash.net/docs/1.4.0/tutorials/getting-started-with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain <anikess...@gmail.com <javascript:>>wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #4

That gist is a vhost file which I'd think is pretty explanatory if oyu know
basic nginx, if not check out http://wiki.nginx.org/FullExample and you'll
be good.

You don't need redis.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:32, Anikessh Jain anikesshjain88@gmail.com wrote:

Hi Mark thanks for the help,but my query is where to save the Kibana
folder in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at http://logstash.net/docs/1.4.0/tutorials/getting-started-
with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikess...@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bR8-iyeGpLw9yFv5mEfpVOZn7P99ebSK56fQE7XCJoEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Anikessh Jain) #5

You did not get my query where do I save my Kibana extracted file and for
example i saved in /usr/share/nginx so my root will be
/usr/share/nginx/kibana

and should i remove the default one and how do I browse Kibana through
BROWSER.for example in my nginx file i have given kibana.myhost.com
so should i browse like kibana.myhost.com/ and will i get my kibana page
and how do i integrate logstash as well in kibana .any help will be good.

hope you understand my problem.sorry for stressing you.

for example i browse like

server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}
server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}

On Sunday, March 23, 2014 3:12:25 PM UTC+5:30, Mark Walkom wrote:

That gist is a vhost file which I'd think is pretty explanatory if oyu
know basic nginx, if not check out http://wiki.nginx.org/FullExample and
you'll be good.

You don't need redis.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 23 March 2014 20:32, Anikessh Jain <anikess...@gmail.com <javascript:>>wrote:

Hi Mark thanks for the help,but my query is where to save the Kibana
folder in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at http://logstash.net/docs/1.4.0/tutorials/getting-started-
with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikess...@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #6

You mean where do you put the dashboard files? If so then it's
$KIBANA_HOME/app/dashboards/

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:59, Anikessh Jain anikesshjain88@gmail.com wrote:

You did not get my query where do I save my Kibana extracted file and for
example i saved in /usr/share/nginx so my root will be
/usr/share/nginx/kibana

and should i remove the default one and how do I browse Kibana through
BROWSER.for example in my nginx file i have given kibana.myhost.com
so should i browse like kibana.myhost.com/ and will i get my kibana page
and how do i integrate logstash as well in kibana .any help will be good.

hope you understand my problem.sorry for stressing you.

for example i browse like

server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}
server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}

On Sunday, March 23, 2014 3:12:25 PM UTC+5:30, Mark Walkom wrote:

That gist is a vhost file which I'd think is pretty explanatory if oyu
know basic nginx, if not check out http://wiki.nginx.org/FullExample and
you'll be good.

You don't need redis.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:32, Anikessh Jain anikess...@gmail.com wrote:

Hi Mark thanks for the help,but my query is where to save the Kibana
folder in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at http://logstash.net/docs/1.4.0
/tutorials/getting-started-with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikess...@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40goo
glegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624ah-r0Sx7M8xDevAwSq%2ByqihcA4B98R_SrkUGgtSAYTDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Anikessh Jain) #7

You are not getting me

Please read my query please ,I am telling that have I configured my
Document root for Kibana properly given above and I want to browse Kibana
not browse badhboards and I want to what changes are to be made in
config.js file of Kibana as well.

Please read and then revert

On Sunday, March 23, 2014 3:33:56 PM UTC+5:30, Mark Walkom wrote:

You mean where do you put the dashboard files? If so then it's
$KIBANA_HOME/app/dashboards/

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 23 March 2014 20:59, Anikessh Jain <anikess...@gmail.com <javascript:>>wrote:

You did not get my query where do I save my Kibana extracted file and for
example i saved in /usr/share/nginx so my root will be
/usr/share/nginx/kibana

and should i remove the default one and how do I browse Kibana through
BROWSER.for example in my nginx file i have given kibana.myhost.com
so should i browse like kibana.myhost.com/ and will i get my kibana page
and how do i integrate logstash as well in kibana .any help will be good.

hope you understand my problem.sorry for stressing you.

for example i browse like

server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}
server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}

On Sunday, March 23, 2014 3:12:25 PM UTC+5:30, Mark Walkom wrote:

That gist is a vhost file which I'd think is pretty explanatory if oyu
know basic nginx, if not check out http://wiki.nginx.org/FullExampleand you'll be good.

You don't need redis.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:32, Anikessh Jain anikess...@gmail.com wrote:

Hi Mark thanks for the help,but my query is where to save the Kibana
folder in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at http://logstash.net/docs/1.4.0
/tutorials/getting-started-with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikess...@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me the
steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting syslog
,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40goo
glegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7d290c28-42c6-4974-8a72-c64471b7dddf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Anikessh Jain) #8

can anybody please help on this issue

On Sunday, March 23, 2014 3:42:34 PM UTC+5:30, Anikessh Jain wrote:

You are not getting me

Please read my query please ,I am telling that have I configured my
Document root for Kibana properly given above and I want to browse Kibana
not browse badhboards and I want to what changes are to be made in
config.js file of Kibana as well.

Please read and then revert

On Sunday, March 23, 2014 3:33:56 PM UTC+5:30, Mark Walkom wrote:

You mean where do you put the dashboard files? If so then it's
$KIBANA_HOME/app/dashboards/

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:59, Anikessh Jain anikess...@gmail.com wrote:

You did not get my query where do I save my Kibana extracted file and
for example i saved in /usr/share/nginx so my root will be
/usr/share/nginx/kibana

and should i remove the default one and how do I browse Kibana through
BROWSER.for example in my nginx file i have given kibana.myhost.com
so should i browse like kibana.myhost.com/ and will i get my kibana
page and how do i integrate logstash as well in kibana .any help will be
good.

hope you understand my problem.sorry for stressing you.

for example i browse like

server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}
server {
listen *:80;
server_name kibana.myhost.com;

access_log /var/log/nginx/kibana_access.log;
error_log /var/log/nginx/kibana_error.log;

location / {
root /usr/share/nginx/kibana;
index index.htmli index.htm;
}

location ~ ^/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/.*/_aliases$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/_nodes$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_search$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

location ~ ^/*/_mapping$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
}

Password protected end points

location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}

location ~ ^/kibana-int/temp.*$ {
proxy_pass http://eshost.domain.com:9200;
proxy_read_timeout 180;
limit_except GET {
proxy_pass http://eshost.domain.com:9200;
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd;
}
}
}

On Sunday, March 23, 2014 3:12:25 PM UTC+5:30, Mark Walkom wrote:

That gist is a vhost file which I'd think is pretty explanatory if oyu
know basic nginx, if not check out http://wiki.nginx.org/FullExampleand you'll be good.

You don't need redis.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 20:32, Anikessh Jain anikess...@gmail.com wrote:

Hi Mark thanks for the help,but my query is where to save the Kibana
folder in Nginx and what changes I have to make the Nginx

Can you Please help me with that steps also and is Redis also required
.Please clear my doubt.

On Sunday, March 23, 2014 12:39:31 PM UTC+5:30, Mark Walkom wrote:

Take a look at http://logstash.net/docs/1.4.0
/tutorials/getting-started-with-logstash
This will help on the kibana front, just edit to suit
https://gist.github.com/markwalkom/8034326

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com
web: www.campaignmonitor.com

On 23 March 2014 18:03, Anikessh Jain anikess...@gmail.com wrote:

Hi all,

I want to Install Kibana-3.0.0 with Nginx ,can anybody provide me
the steps or any Link that can help.

I want to Install ElasticsEarch + Kibana +Logstash for getting
syslog ,nginx logs in Kibana GUI.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/aa71b656-10f
5-41a9-b7e5-d01a4b9cfc95%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/aa71b656-10f5-41a9-b7e5-d01a4b9cfc95%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%
40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/5db7c037-856f-4866-b8b2-29869e4e2ecb%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/7c2a9032-3a1f-4804-96a6-1689c8da0457%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1e9a417f-18af-4a43-b213-576bc5d93c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #9