Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.16 KB

README.md

File metadata and controls

73 lines (50 loc) · 2.16 KB

Ansible Automation Platform Log Visualizer

CI CD MIT License GitHub repo size in bytes GitHub last commit

Repository for multi-arch all-in-one container images that contains Grafana, Loki, and Promtail with included dashboards to visualize Ansible Automation Platform must-gather and sosreport logs.

Build

Build linux amd64 based image.

make build

Build linux arm64 based image.

make ARCH=arm64 build

Build linux arm64 based image with docker.

make CONTAINER_RUNTIME=docker ARCH=arm64 build

Build image without using make replace ${OS} with linux/darwin and ${ARCH} with arm64/amd64.

podman build --build-arg TARGETARCH=${ARCH} --build-arg TARGETOS=${OS} -t ${APP_NAME} .

Run

Run prebuilt image from Quay.io.

podman run --name aaplv -d -v ./{must-gather/sosreport}_dir:/logs:Z -p 3000:3000 quay.io/castawayegr/aap-log-visualizer:latest

Run locally built image using build section from above.

podman run --name aaplv -d -v ./{must-gather/sosreport}_dir:/logs:Z -p 3000:3000 localhost:/aap-log-visualizer:latest

Run locally built image using using the default log path

make run

Run locally built image using using custom path and docker

make CONTAINER_RUNTIME=docker LOGS_PATH=/tmp/{must-gather/sosreport}_dir run

License

MIT

Author Information

This container repo was created by Michael Tipton.