1. install elastic search 1.4.2 (up and running http://hostip:9200 works) 2. install kibana 3.1.2 3. install lighthttpd. 1,2,3 are in the same node. 1,2,3 are run by same user/group. Could anyone help?
configuration is below. 1-elastic-search-config. add line in elasticsearch.yml: http.cors.enabled: true 2-kibana config: add one line in /var/www/kibana3/config.js: elasticsearch: "http://localhost:9200", 3.-lighthttpd config: /etc/lighttpd/conf.d/kibana3.conf <VirtualHost *:80> #ServerName FQDN DocumentRoot /var/www/kibana3 <Directory /var/www/kibana3> Allow from all Options -Multiviews </Directory> LogLevel debug ErrorLog /var/log/lighthttpd/error_log CustomLog /var/log/lighthttpd/access_log combined # Set global proxy timeouts <Proxy http://127.0.0.1:9200> ProxySet connectiontimeout=5 timeout=90 </Proxy> # Proxy for _aliases and .*/_search <LocationMatch "^/(_nodes|_aliases|.*/_aliases|_search|.*/_search|_mapping|.*/_mapping)$"> ProxyPassMatch http://127.0.0.1:9200/$1 ProxyPassReverse http://127.0.0.1:9200/$1 </LocationMatch> # Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected) <LocationMatch "^/(kibana-int/dashboard/|kibana-int/temp)(.*)$"> ProxyPassMatch http://127.0.0.1:9200/$1$2 ProxyPassReverse http://127.0.0.1:9200/$1$2 </LocationMatch> # <Location /> # AuthType Basic # AuthBasicProvider file # AuthName "Restricted" # AuthUserFile /etc/lighthttpd/conf.d/kibana-htpasswd # Require valid-user # </Location> </VirtualHost> /etc/lighthttpd/lighthttpd.conf: server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", # "mod_rewrite", ) server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "myusernamerunelk" server.groupname = "myusergrouprunelk" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", " index.lighttpd.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) ## Use ipv6 if available #include_shell "/usr/share/lighttpd/use-ipv6.pl" dir-listing.encoding = "utf-8" server.dir-listing = "enable" compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" ) include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ded075ac-5074-468d-88b1-8da76dffe842%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
