Gigalixir Log Drain
AppSignal can ingest logs via Gigalixir Log Drain. Gigalixir logs use the Plaintext
format, you can find more information on formatting in our Log Formatting Documentation.
Check For Existing Log Drains
Before creating a new log drain for AppSignal, we recommend checking to see if a drain for AppSignal already exists. You can do so using the following command:
shell
gigalixir drains
You can remove any log drain you wish using the below command:
shell
gigalixir drains:remove LOG_DRAIN_ID
Replace LOG_DRAIN_ID the log drain ID you are trying to remove.
Add new log drain
Use the command below to create a new AppSignal log drain
shell
gigalixir drains:add "https://appsignal-endpoint.net/gigalixir?api_key=YOUR_LOG_SOURCE_API_KEY"
Replace YOUR_LOG_SOURCE_API_KEY
with the key provided when creating a log source.
When connected, logs should appear in AppSignal. If you still cannot see any logs, please contact us for support.