Skip to content

Instantly share code, notes, and snippets.

@pj
Created August 23, 2015 23:35
Show Gist options
  • Save pj/3ab60cdca0a971a014f4 to your computer and use it in GitHub Desktop.
Save pj/3ab60cdca0a971a014f4 to your computer and use it in GitHub Desktop.
2015-08-24 - NAB - If you are running Kibana in windows and have a proxy set in your environment variables and try to run kibana it will try to go through the proxy to connect to elastic search, to fix this unset the variable in the kibana.bat file:
@echo off
SETLOCAL
set http_proxy=
set https_proxy=
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI
set NODE=%DIR%\node\node.exe
set SERVER=%DIR%\src\bin\kibana.js
set NODE_ENV="production"
set CONFIG_PATH=%DIR%\config\kibana.yml
TITLE Kibana Server 4.1.1
"%NODE%" "%SERVER%" %*
:finally
ENDLOCAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment