Persist service logs externally

Currently the service logs are available in the UI (Stacks --> Service --> Log tab) and via the API but only for the last 24h.
Is there any good way to persist these logs externally (Splunk, ELK, etc), or would I have to query using the API?