Skip to content

aiops/logsight-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logsight Installation

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.git
git clone https://github.com/aiops/logsight-install.git

Switch into the logsight-install directory

cd logsight-install

Installation with docker-compose

We 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-license

The 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.

Update with docker-compose

If you have cloned the logsight-install repository already, you should check it for updates by running

git pull

You 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.sh

The 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.

Uninstall with docker-compose

To uninstall logsight run

./docker-compose/uninstall.sh

During 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.

Documentation

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.

Support

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.

About

installation resources for logsight

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages