Well, that's kinda philosophic, but there is no BEST way to ship logs, there is the most APPROPRIATE way.
Let us explain -
Each environment has it own needs, requirements and configurations.
So if you write java, you can use the log4net appender, but if you use apache - rsyslog might be the way to go. But hey, wait - you want SSL? so try logstash forwarder.
You get our point.
Here at logz.io we support multiple ways for you to get your logs in, to give you the choise to select the best way for YOU.
There are a few considerations you have to take in mind before deciding:
- Which OS are you running on? Linux works great with rsyslog, and windows with nxlog
- Do you control the application you send logs from? if you do, you need to consider a logging appender which will work more natively, or sending through bulk http/s
- Don't you? so rsyslog, logstash forwarder, fluentd and nxlog that can "listen" to files might be a good way to go
- Need SSL? then rsyslog is not an option. Think about logstash forwarder and fluentd
- Need reliability? We also support UDP, but keep in mind that we can't guarantee that 100% of your logs will be on your account
- Using dockers? We have some awesome containers for you to pull. You can get rsyslog, elasticsearch monitoring, mysql monitoring and performance monitoring with just one command
- Need to upload "One-time" logs? so no need to setup anything fancy - just use our file upload shipping method