Clarification on managing logging through the API

Comments

3 comments

  • Kami Richey

    Hi Paul,

    We do have ways to manage logging with our API, here's the link to the full docs: https://docs.fastly.com/api/logging

    To get the syslog info for your service, you'll want to use:

    curl -XGET -H "Fastly-Key:<fastly_api_key>" https://api.fastly.com/service/<service_id>/version/<version_number>/syslog/

    Cheers, Kami

  • paul.springett

    Hey Kami,

    Thanks so much! I got too caught in one part of the docs and didn't see the logging part.

    That's just what I'm looking for.

    Cheers,

    Paul

  • Kami Richey

    Awesome! If you have any other questions, send them our way.

    Cheers, Kami

Please sign in to leave a comment.