Getting started
- Open a terminal. (Make sure you have root/ admin privilages)
- Use python to execute the main.py file
1 2 |
python3 main.py |
or
1 2 |
python main.py |
4. The script will auto-detect your operating system. Make sure the installation is correct!
1 2 3 4 5 6 7 |
Welcome to Logstail Agent Instalation -------------------------------- Gathering System info... Detected windows amd64. -------------------------------- Is this the operating system type you want to install for? (Y/n): |
- Select the component you want to install
1 2 3 4 5 6 7 8 9 10 |
-------------------------------- Select your monitoring component 1: Logs Collection 2: Metric Collection 3: Network Traffic 4: Uptime Monitoring 5: Security Monitoring (SIEM) Q: Quit -------------------------------- Select Component: |
- Select one of the available options
1 2 3 4 5 6 7 8 9 10 11 |
Select your option 1: Install 2: Status 3: Show modules 4: Enable module 5: Disable module 6: Restart Collector 7: Uninstal Q: Quit Enter an option: |
- Install: Installs the selected collector to the system and enables it. To install a collector make sure you have copied your Logstail Client Token from https://apps.logstail.com/home/overview
- Status: Prints the current status of the selected collector. If the status is OK or RUNNING you are good to go! Else check your confifuration. If you cant solve the issue contact Logstail Support!
- Show modules: Prints all the available modules of a collector and their status (enabled, disabled). Only enabled and properly configured modules gather and ship logs and metrics to Logstail Platform.
- Enable module: Use this option to enable a module on the selected collector. Make sure to use the above option first to view all the available modules! NOTE: Some module require extra configuration, follow our guides to properly configure them. https://apps.logstail.com/shippers After enabling a module make sure to Add the related dashboard from https://apps.logstail.com/apps2go and start analyzing your data. If the dashboard is empty make sure your configuration is correct! If you need help contact Logstail Support!
- Disable module: Use this option to disable an already enabled module. After disabling a module you will no longer be able to view data related to this module on the platform.
- Restart Collector: Use this option to restart the selected collector. We recommend running this option when you manually alter the configuration or when your data are not getting shipped to the Logstail Platform!
- Uninstall: Use this option to uninstall the selected collector. After uninstalling a collector any data related to this collector will stop getting shipped to Logstail Platform.