<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Fluentbit_syslog_input_tls</id>
	<title>Fluentbit syslog input tls - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Fluentbit_syslog_input_tls"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Fluentbit_syslog_input_tls&amp;action=history"/>
	<updated>2026-04-21T05:13:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Fluentbit_syslog_input_tls&amp;diff=4334&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;You can easily test the syslog using simple bash script.  You can create a test log with Ubuntu/Debian using gnutls-cli  Install ``` sudo apt-get install gnutls-bin ```  sendT...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Fluentbit_syslog_input_tls&amp;diff=4334&amp;oldid=prev"/>
		<updated>2023-06-24T22:37:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You can easily test the syslog using simple bash script.  You can create a test log with Ubuntu/Debian using gnutls-cli  Install ``` sudo apt-get install gnutls-bin ```  sendT...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You can easily test the syslog using simple bash script.&lt;br /&gt;
&lt;br /&gt;
You can create a test log with Ubuntu/Debian using gnutls-cli&lt;br /&gt;
&lt;br /&gt;
Install&lt;br /&gt;
```&lt;br /&gt;
sudo apt-get install gnutls-bin&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
sendTLSLog.sh&lt;br /&gt;
```&lt;br /&gt;
ts=$(date &amp;quot;+%b %d %T&amp;quot;)&lt;br /&gt;
echo &amp;quot;&amp;lt;142&amp;gt;$ts $HOSTNAME test: this is a test on test $RANDOM.&amp;quot; | \&lt;br /&gt;
    gnutls-cli log.example.com --port=6514 --x509cafile=./root.ca.crt&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Send log&lt;br /&gt;
```&lt;br /&gt;
bash sendTLSLog.sh&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Here is a config snippet example below.&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
    [OUTPUT]&lt;br /&gt;
        Name      stdout&lt;br /&gt;
        Match     syslog.6514.tcp&lt;br /&gt;
&lt;br /&gt;
    [INPUT]&lt;br /&gt;
        Name     syslog&lt;br /&gt;
        Parser   syslog-rfc3164&lt;br /&gt;
        Tag    syslog.6514.tcp&lt;br /&gt;
        Listen   0.0.0.0&lt;br /&gt;
        Port     6514&lt;br /&gt;
        Mode     tcp&lt;br /&gt;
        tls.verify no&lt;br /&gt;
        tls on&lt;br /&gt;
        tls.crt_file /app/certs/log.example.com.crt&lt;br /&gt;
        tls.key_file /app/certs/log.example.com.key&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
You may see some errors like&lt;br /&gt;
[2023/06/24 22:25:44] [error] [tls] error: unexpected EOF&lt;br /&gt;
But those are commonly tcp health probes from loadbalancer, liveness probes or other health checks. You can look at modifying or disabling these probes if you want.&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>