It's be extremely useful to pull down logs, especially for managed databases, programmatically. As a matter of procedure in digital forensics and incident response generally the playbooks, etc are scripted, and it'd be a great asset for rapid response.