How to retrieve the System logs using cURL command?

Thanks for the detailed insights @Aaron . I got your points clearly.
Appreciated a lot.