This repository contains a collection of scripts and other resources for an on-premise installation of logsight.ai.
Clone the repository with git https or ssh:
git clone git@github.com:aiops/logsight-install.gitgit clone https://github.com/aiops/logsight-install.gitSwitch into the logsight-install directory
cd logsight-installWe provide all logsight.ai services as Docker Images, which you can spin up with docker-compse. All compose, configuration, and utility script files are located in the docker-compose directory.
The easiest way to do the installation is to run the utility script install.sh. You need to accept the EULA when installing logsight.ai by setting accept-license as the only command-line argument for the script.
./docker-compose/install.sh accept-licenseThe script will prompt for an Elasticsearch and a PostgreSQL password. Alternatively, it is possible to set the following environment variables before running the script.
export ELASTICSEARCH_PASSWORD=<set a password>export POSTGRES_PASSWORD=<set a password>The password must comply with some minimum requirements, checked during the installation process.
When all services are running, you can access the logsight.ai landing page via http://localhost:4200.
If you have cloned the logsight-install repository already, you should check it for updates by running
git pullYou will see changes applied to the installation scripts or Already up-to-date. if no updates are available.
To update logsight, run
./docker-compose/update.shThe most recent logsight containers are used by default. However, it is possible to configure the installation script to use a specific version of logsight. Open the file ./docker-compose/docker-compose/.env. Search for the entry DOCKER_IMAGE_TAG=. The update and installaiton script will use the version defined by that entry.
Troubleshooting: Logsight versions before v1.0.1 are not supporting the update functionality. Updating from version v1.0.0 or before to higher versions is only possible by reinstalling logsight.
To uninstall logsight run
./docker-compose/uninstall.shDuring the uninstallation you can decide whether to delete the logsight data and docker images. Deleting logsight data will delete the postgres and elasticsearch database volumes.
Visit our logsight docs for additional information about the installation and configuration of logsight.ai, sending of log data to logsight.ai, explanation of the different dashboards, and many more.
Please use the GitHub issue tracker to report problems encountered during the installation process.
If you have general questions or need support, you can visit https://logsight.ai and use the live chat or drop us an email.
