Quick start
From zero to a service’s live logs. You need Contrail and at least one SSO profile in your AWS config. The AWS CLI v2 is optional: Contrail logs in itself when it isn’t installed.
Install
Section titled “Install”Download Contrail
Open the .dmg (Apple silicon or Intel) and drag Contrail into Applications. The app isn’t
signed by Apple yet: the first time, right-click it and choose Open.
Run the -setup.exe. It installs for your user only, so no admin rights are needed. The
installer isn’t code-signed yet, so SmartScreen asks once: choose More info → Run anyway.
Install the .deb or .rpm, or make the AppImage executable and start it:
chmod +x Contrail_*_amd64.AppImage./Contrail_*_amd64.AppImageYour first logs
Section titled “Your first logs”-
Pick a profile. Contrail lists the profiles from
~/.aws/config(orAWS_CONFIG_FILE) with their SSO session state. Switch with Cmd/Ctrl+Shift+P; search by name, account ID or region. -
Log in. If the session has expired, Log in runs
aws sso login --profile <name>for you and the browser opens. Without the CLI, Contrail opens the login page itself and shows the code to confirm there. The AWS SDK handles the credentials. -
Open a service. Expand a cluster in the sidebar and click a service, or press Cmd/Ctrl+K and type part of its name. Star it to pin it to the sidebar.
-
Read the logs. The Logs tab loads the last minutes of all its tasks and then follows them live. Click a line to see its fields, the raw JSON and the stack trace.
-
Search. Type in the search box:
level>=WARN timeout,trace.id:abc123,-healthcheck. See the search syntax for everything it understands.
Not allowed to read something?
Section titled “Not allowed to read something?”Contrail only reads from AWS (unless you allow changes in the settings). If your role misses a permission, Contrail tells you instead of failing silently; the AWS permissions page has the policy to give to whoever manages your SSO roles.
Try it without AWS
Section titled “Try it without AWS”Demo mode starts Contrail with invented profiles, clusters and logs, and never talks to AWS:
CONTRAIL_DEMO=1 /Applications/Contrail.app/Contents/MacOS/contrail # macOSOn Windows and Linux, start Contrail with --demo.