Skip to content

686 - Log Entries

Application log samples with raw multiline content. This is an example of a MAML document.

maml
{
  application: "users"
  log_format: "structured"
  # Example stack trace
  sample_error: """
Error: Try to parse the THX driver, maybe it will back up the wireless feed!
    at /usr/lib/narrowcast.mjs:90
    at /lib/decouple_uh_huh.azw:444
    at process.main (node:internal/main:1:1)
"""

  # Sample HTTP request
  sample_request: """
PUT /api/circumference HTTP/1.1
Host: miserable-loaf.info
User-Agent: Mozilla/5.0 (Linux; Android 6; SM-G998U) AppleWebKit/536.12 (KHTML, like Gecko) Chrome/107.3.8.5 Mobile Safari/578.20
Accept: application/json
"""
  retention_days: 14
}

See Also