Kibana 4 is an analytics and visualization platform that builds on Elasticsearch to give you a better understanding of your data. Here we cover how to quickly and easily get Kibana up and running on your Laravel Homestead environment.
For ease of installation we can run the installation script using a single cli command via wget, just ssh into you Laravel Homestead VM and run the following command and the installation script will run.
Wanna see what’s happening checkout the installation script in full below or checkout the gist.
Optional Port Configuration
By default once you’ve installed Kibana using the script above you should now have access to the Kibana UI from http://192.168.10.10:5601. (the IP address may differ if you’re not using the default configuration for homestead)
Great so we’re up and running, however just to make it a little easier and accessible from http://localhost:5601. We can use the Laravel Homesteads configuration file to setup some custom port forwarding configurations.
Edit you’re homestead.yaml file and add the following port configuration, you can set the ‘to’ port to suit you’re own needs and preference.
Restart Homestead to apply the new port settings, once you’re backup and running you’re ready to access the Kibana UI via http://localhost:5601.
And start exploring your data…