ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.69k stars 187 forks source link

Export logs with CLI #1970

Open MaciejRucinskiVIMN opened 8 months ago

MaciejRucinskiVIMN commented 8 months ago

Description

Support exporting the logs to desired format over CLI.

Why this feature/change is important?

The same as with importing/exporting config, having the ability to dump logs for the whole sessions or specific endpoints. This would be helpful to analyse logs programmatically as a part of a larger automated process.

NghiaTranUIT commented 8 months ago

May I ask: For now, what is the most used export you use?

I can support it if the workload is reasonable.

chris-hailstorm commented 8 months ago

Exporting all traffic to and from a specific wildcarded subdomain would work well for me, e.g.

Thank you for considering

MaciejRucinskiVIMN commented 8 months ago

@NghiaTranUIT Ability to export traffic filtered by url, query, and body (wildcard or regex) would be great. We usually export multiple endpoints, not entire traffic.

Nikoloutsos commented 7 months ago

I was looking for this feature as well. I want to be able to export the logs of the current proxyman session for debugging reasons.

E.g on CI we have some E2E tests running on mobile and we want to investigate the responses that was returned.