1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kibana page does not load after successful configuration

Discussion in 'Install Logstash and Kibana on a Windows server.' started by Sankar Raman, Dec 26, 2015.

  1. Sankar Raman

    Sankar Raman New Member Member

    The tutorial is excellent. There are however a couple of areas where you coould add more steps to make this bullet proof. I did figure those out though I am new to this technology. I ran everything and the services are running but when I point to http://loghost.ulyaoth.net/ 's equivalent in my site, it is showing
    HTTP Error 403.14 - Forbidden
    The Web server is configured to not list the contents of this directory.
    Detailed Error Information

    I had disabled the reverse proxy and enabled directory browsing and restarted the site and navigated to http://<<mysite>>/src/public/ and then I saw this page


    Not sure what to do I have a deadline looming. It would be great if you can give me some direction - Thanks
  2. sbagmeijer

    sbagmeijer Machine

    I think the first step is to make sure Kibana and ElasticSearch is up and running.

    Try go to: (this should show Kibana)
    And try: (this should show ES)

    What does this say?
  3. Sankar Raman

    Sankar Raman New Member Member does not show Kibana it shows the following. ES loads with the standard JSON


    Standard JSON from ES is below

    "name" : "Pete Wisdom",
    "cluster_name" : "elasticsearch",
    "version" : {
    "number" : "2.1.1",
    "build_hash" : "40e2c53a6b6c2972b3d13846e450e66f4375bd71",
    "build_timestamp" : "2015-12-15T13:05:55Z",
    "build_snapshot" : false,
    "lucene_version" : "5.3.1"
    "tagline" : "You Know, for Search"
  4. sbagmeijer

    sbagmeijer Machine

    So this means your Kibana is not running, you have to go to "services.msc" and then start Kibana.
    Or start Kibana from CMD prompt and check what error it gives you.
  5. Sankar Raman

    Sankar Raman New Member Member

    There was a section int he Kibana.bat that was causing an issue. The section that checks if nodejs exists. Since i verified it exists I had commented that section and reran it. It ran after that. But right now the kibana is not served through IIS. So it works but not through the IIS.
  6. sbagmeijer

    sbagmeijer Machine

    I am not sure why you edit kibana.bat? it should work by just downloading the zip file extract and did run it. I tested it a few minutes ago, there should be no need to alter it.

    In regards to IIS not picking it up this mean your reverse proxy is not working so you have to redo the steps I posted regarding IIS.
  7. Sankar Raman

    Sankar Raman New Member Member

    I redid the steps using my new download and the abridged version of kibana and my site is working fine now. The kibana.bat was modified to the following. For some reason if I did not do that, the kibana service is starting and the error message i showed in my first posting is showing up. This following version of kibana.bat is working. I deleted the red code and added the green code.

    @echo off


    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI

    set NODE=%DIR%\node\node.exe

    WHERE /Q node
    for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i

    If Not Exist "%NODE%" (
    IF Exist "%SYS_NODE%" (
    set NODE=%SYS_NODE%
    ) else (
    Echo unable to find usable node.js executable.
    Exit /B 1

    echo %NODE%

    TITLE Kibana Server
    "%NODE%" %NODE_OPTIONS% "%DIR%\src\cli" %*


  8. Sankar Raman

    Sankar Raman New Member Member

    Your guide is a god send. I however would suggest a few minor additions:
    (1) Step 15 - I would explain where to download nxlog from
    (2) Step 16 - I would explain how to change the config file. Though that is out of scope of this document "Depending on your IIS setup you might need to change the exact IIS location also I am talking about this line:" would help a lot if clarified in detail for novices like me.
    (3) Step 9 - I would add that site name and host name can be anything. Though this is a rudimentary thing some folks might get confused here.

    Nevertheless this is a great tutorial/Guide. I would also look forward for another one where you explain how to setup a index, load data and make some analytical charts in kibana. That is in my wish list though! Thanks for your help.
  9. sbagmeijer

    sbagmeijer Machine

    Thank you for the feedback.

    This bit is actually explained in step 1 of my guide:
    nxlog: http://sourceforge.net/projects/nxlog-ce/files/
    On the nxlog website choose the latest "msi" file, at the time of writing this guide it was: nxlog-ce-2.8.1248
    Feel free to download the newest version!

    However I will refer at the Nxlog to step once to make it more clear!

    Please hava a new look I updated with some more information I hope it is more clear?

    Please have a look now I added additional information!

    Thank you again for the feedback always great to hear information to improve it.

    I will see if I have some time in the near future to go more indepth with Kibana.

Share This Page