Ingesting Logs via HTTPS

Send log entries with a simple HTTP POST from any language or tool.

Endpoint
POST https://bunnylogs.com/live/<uuid>
Form Parameters
Parameter Required Description
message Yes The log message text.
level No Log level (e.g. INFO, WARN, ERROR). Defaults to INFO.
program No Name of the program or service sending the log. Defaults to api.
timestamp No ISO 8601 timestamp. Defaults to the server time at receipt.
Examples

curl

curl -d "message=deployment finished" \
     -d "level=INFO" \
     -d "program=deploy-bot" \
     https://bunnylogs.com/live/<uuid>

Python (requests)

import requests

requests.post(
    "https://bunnylogs.com/live/<uuid>",
    data={
        "message": "deployment finished",
        "level": "INFO",
        "program": "deploy-bot",
    },
)

Node.js (fetch)

await fetch("https://bunnylogs.com/live/<uuid>", {
  method: "POST",
  body: new URLSearchParams({
    message: "deployment finished",
    level: "INFO",
    program: "deploy-bot",
  }),
});