Add analyze_logs script