However, if you want to use the features of newer syslog-ng versions for example, sending log messages to Elasticsearch or Apache Kafka , you have to either compile syslog-ng from source, or install it from unofficial repositories. This post explains you how to do that. For information on all platforms that could be relevant to you, check out all my blog posts about installing syslog-ng on major Linux distributions , collected in one place. In addition, syslog-ng is also available as a Docker image.
To learn more, read our tutorial about logging in Docker using syslog-ng. Most Linux distributions have a number of limitations. Of course these are not limitations in the traditional sense, rather ways of quality control. All of this means that syslog-ng in Linux distributions is locked to a given version with a limited feature set for anywhere from half a year to up to a decade, depending on the release cycle.
Thus, the syslog-ng version included in old Linux versions can also be a decade old. If you need a feature or fix not available for some reason in the distribution package, you can either compile syslog-ng for yourself or use one of the unofficial syslog-ng RPM repositories. Using the repositories is usually easier. We, the developers of syslog-ng maintain several unofficial repositories for different distributions.
The short answer is: these packages are not officially supported by Balabit or a Linux distribution. If you need tested binaries, commercial support with guaranteed response times and other goodies, you either need a commercial Linux distribution, which includes syslog-ng see possible problems above , or the commercial syslog-ng Premium Edition developed by Balabit.
We support the unofficial repositories on a best effort level, which is sometimes quicker than commercial support, but most often is not. You can use many log sources and destinations in syslog-ng. The majority of these require additional dependencies to be installed. If all of the features would be included in a single package, installing syslog-ng would also install dozens of smaller and larger dependencies, including such behemoths as Java.
This is why the syslog-ng package includes only the core functionality, and features requiring additional dependencies are available as sub-packages. The most popular sub-package is syslog-ng-java, which installs the Java-based big data destination drivers, like Elasticsearch, Kafka, and HDFS, but there are many others as well.
A few dependencies of syslog-ng are available this repo. Add the repo containing the latest unofficial build of syslog-ng. By the time of writing it is syslog-ng 3. It is not strictly required, but you can avoid some confusion, if you also delete rsyslog at the same time:. For example, on Fedora Viewed 41k times. Other log files like MySQL or nginx are up to date. Only system logs don't work. I hope you can help me.
Improve this question. Add a comment. Active Oldest Votes. Ok, I found solution somewhere else: sudo apt-get install --reinstall rsyslog It seems rsyslog was removed itself at some point. Improve this answer. This problem came for me also, i restarted this deamon, now its working fine. Fuhrmanator 8 8 bronze badges.
Could try this in case something's mis-configured with rsyslog , at least before trying a full reinstall: sudo dpkg-reconfigure rsyslog. Xen Xen 8, 4 4 gold badges 27 27 silver badges 49 49 bronze badges. Asim Asim Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
0コメント