syslog-ng Community

Blogs

  • Creating an HTTP source for syslog-ng in Python

    HTTP is quickly becoming the universal transport protocol of the Internet. Nowadays even DNS over HTTPS implementations are available. There is no HTTP source implemented in C for syslog-ng, but starting with syslog-ng version 3.18, you can write new...
    • 312 Views
    • 0 Comments
  • Insider 2019-01: central server; survey; SNMP; Slack; Conferences & Webinars

    Dear syslog-ng users, This is the 72nd issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news. NEWS Creating a central syslog server Your home network might already contain some devices or systems like a home server, ...
    • 232 Views
    • 0 Comments
  • Send your log messages to Slack

    One of the many ways members of a team collaborate is to use Slack. From syslog-ng version 3.19, you can send log messages to Slack. You can receive critical log messages in real-time in your Slack client on your mobile or desktop. Learn how to set u...
    • 654 Views
    • 0 Comments
  • Insider 2018-12: 3.19 release; optimizing Splunk; Python source; HTTP batch;

    Dear syslog-ng users, This is the 71st issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news. NEWS Version 3.19 of syslog-ng released Version 3.19 of syslog-ng has been released with plenty of new features and bugf...
    • 353 Views
    • 0 Comments
  • Installing the latest syslog-ng on Ubuntu and other DEB distributions

    As a follow-up to my RPM blog last week, here are instructions installing syslog-ng Open Source Edition (syslog-ng OSE) on the Debian / Ubuntu version. If you read my previous blog, skip to the installation part at the end, otherwise: read on. Update...
    • 13709 Views
    • 2 Comments
  • Installing latest syslog-ng on RHEL and other RPM distributions

    The syslog-ng application is included in all major Linux distributions, and you can usually install syslog-ng from the official repositories. If the core functionality of syslog-ng meets your needs, use the package in your distribution repository (yu...
    • 20923 Views
    • 0 Comments
  • Optimize your Splunk infrastructure using new syslog-ng features

    Learn how to use less resources for better performance in Splunk! Many people have been using syslog-ng for decades without knowing that it receives new features as well as bugfixes. While many Linux utilities are practically in maintenance mode, sys...
    • 1380 Views
    • 0 Comments
  • Using syslog-ng to forward SNMP traps to Splunk

    As we learned at the Splunk .conf18 this October, forwarding SNMP traps to Splunk can be a challenging task. Luckily, using syslog-ng can simplify it for us. All we need to make sure about is that snmptrapd logs traps to a file. The syslog-ng applica...
    • 1187 Views
    • 0 Comments
  • Analyze your Suricata logs in real-time using syslog-ng

    Last week I presented syslog-ng at SuriCon 2018 in Vancouver. In this blog post you can read a slightly modified version of that talk: a bit less emphasis on the introduction and a bit more on the explanation of the syslog-ng configuration part. The ...
    • 1280 Views
    • 0 Comments
  • Python source in syslog-ng

    Using syslog-ng 3.18 and newer releases, you can write new source drivers for syslog-ng in Python. While performance is not as good as C, you gain flexibility and ease of implementation. There are quite a few log sources without a ready to use C API,...
    • 1465 Views
    • 0 Comments
  • Insider 2018-10: 3.18 release; Splunk .conf18; Python destination; Python parser;

    Dear syslog-ng users, This is the 70th issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news. NEWS Version 3.18 of syslog-ng released Version 3.18 of syslog-ng has been released with plenty of new features and bugf...
    • 1165 Views
    • 0 Comments
  • Bulk mode message sending to Elasticsearch with syslog-ng http() destination

    Learn how to send log messages in bulk mode to your Elasticsearch server with syslog-ng. Bulk mode offers better performance, because it sends multiple log messages in a single POST request. A few years back I wrote that any time a new language bind...
    • 1896 Views
    • 0 Comments
  • Small is beautiful: what's new in syslog-ng 3.18?

    Each syslog-ng release comes with one or more larger features that steal the show from very useful but smaller features. Now I collect these small features and explain how they can make your life easier. Learn what is coming up in syslog-ng version 3...
    • 1771 Views
    • 0 Comments
  • Parsing log messages with the syslog-ng Python parser

    The Python parser of syslog-ng not only enables you to parse any type of log message, but you can also use it to enrich messages. From this blog you will learn how to extract information from a specially formatted log message, and how to create new n...
    • 3484 Views
    • 0 Comments
  • Writing Python destination in syslog-ng: how to send log messages to MQTT

    In my past two Python blogs I introduced you to the basics of the syslog-ng Python destination. In this blog I show you a working example of how you can publish your logs to MQTT using the Python destination of syslog-ng. If you are new to the Python...
    • 2251 Views
    • 0 Comments
  • Insider 2018-09: SCL; Splunk .conf18; failover; human readable numbers; webinars;

    Dear syslog-ng users, This is the 69th issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news. NEWS Creating your first block for the syslog-ng configuration library (SCL) The syslog-ng configuration library (SCL) is...
    • 2065 Views
    • 0 Comments
  • Python destination: getting into details

    Last week you learned the very basics of the syslog-ng Python destination. This time, you will move a bit further and learn about a few more configuration options and optional methods. If you are new to the Python destination and want to get started ...
    • 2408 Views
    • 0 Comments
  • Python destination getting started

    You can store your log messages to many different destinations using syslog-ng, but of course not everywhere. This is where the Python destination of syslog-ng can come handy. You can extend syslog-ng easily with your own code written in Python and s...
    • 2826 Views
    • 0 Comments
  • Insider 2018-08: 3.16 & 3.17; Splunk; IoT security; Telegram; Throttling;

    Dear syslog-ng users, This is the 68th issue of syslog-ng Insider, a monthly newsletter that brings you syslog-ng-related news. syslog-ng 3.16 & 3.17 are released Version 3.16 & 3.17 of syslog-ng are now available. Support to send log messag...
    • 2321 Views
    • 0 Comments
  • Human readable numbers in syslog-ng

    Writing an extra zero at the wrong place in a configuration file can result in a filled-up partition and data loss. This is where human readable numbers in syslog-ng can help: using kilo / mega / giga instead of writing many-digit numbers can save y...
    • 2371 Views
    • 0 Comments
  • Client-side failover and failback using syslog-ng

    When you have multiple syslog servers collecting logs, syslog-ng on the client side can fail over to secondary servers if the primary one becomes unavailable. It can also fail back to the primary server soon after it is back on-line – if config...
    • 3202 Views
    • 0 Comments
  • Build your own syslog-ng packages from patched Git sources

    When a user reports a problem with syslog-ng, developers create code to fix it. The fix is called a patch or a pull request (PR) in Git terminology. Often this code does not enter the main source code automatically but developers ask the user to test...
    • 3712 Views
    • 0 Comments
  • Creating your first block for the syslog-ng configuration library (SCL)

    The syslog-ng configuration library (SCL) is a collection of ready-to-use configuration snippets that hide away the complexity of the specifics of your log processing pipeline. If you already reuse parts of your configuration on different machines, i...
    • 4224 Views
    • 0 Comments
  • Throttling log messages

    One of the main advantages of syslog-ng is that it is high performance and low on resource usage. Why throttle the messages then? There are three main reasons – licensing, performance, and bandwidth – all outside of syslog-ng. From this b...
    • 4487 Views
    • 0 Comments
  • hook-commands: easy driver setup

    The hook-commands() option of syslog-ng makes it easy to execute external commands when a driver is started or stopped. For example, you can open a port in the firewall when a network source is started and close it once syslog-ng is shut down. Or you...
    • 3654 Views
    • 0 Comments