A docker container that can be easily deployed and configured to export strongDM query logs.
The container acts as a syslog concentrator. Customers that want to export their strongDM query logs to a third party logging service can use the container to do so. They configure the container for the appropriate target. Deploy the container. Configure their strongDM gateways to logs to a syslog destination and set the destination to the address of the logging container.
The container uses fluentd for processing and routing your logs. Currently supports routing to: stdout, remote syslog, S3, CloudWatch, Splunk HEC, Datadog, Azure Log Analytics, Sumo Logic, Kafka, Mongo, Logz, ElasticSearch and BigQuery. You could configure multiple storages in one container, for example: stdout s3
.
A curated version of the documentation can be found here
The Log Export Container is a Docker Image you can use for spinning up multiple containers.
- Download the
docker-compose.yml
file from the Github repo onto your machine (or copy-paste its contents into a file you created directly on the machine with the same name).- Make sure that the 'Required variables' in the .yml file are set appropriately based on your desired log format and output destination.
- Run with your preferred container orchestrator (with docker, you can simply run
docker-compose up
) - Log into the strongDM Admin UI and go to the Settings page, then the Log Encryption & Storage tab.
- Set "Log locally on relays?" to 'Yes'
- Set "Local storage?" to "Syslog" and enter the IP address of the machine running the Log Export Container along with port 5140
- Set "Local format?" to match the input format you specified in the .yml file.
- Click "Update" and you're done!
- If you notice that your strongDM client is stuck in reconnecting mode after hitting update, then it's possible that something went wrong during the setup process. Check your docker settings, security settings, port availability, IP address, and that the Docker image is running correctly.
Here's a gif demonstrating the setup process:
For configuration details, please refer to CONFIGURE_LOG_EXPORT_CONTAINER.md.
If you want to modify the container and quickly see the changes in your local, you could start the container locally and forward the local port to your gateway using:
./dev-tools/start-container.sh
You could also run the project in your local without docker, please refer to CONFIGURE_LOCAL_ENV
Currently the application supports Prometheus Metrics about the received and forwarded logs. For more details, please see CONFIGURE_PROMETHEUS
Refer to the contributing guidelines or dump part of the information here.
Refer to the support guidelines or dump part of the information here.