<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rsyslog &#187; Config Snippets</title>
	<atom:link href="http://www.rsyslog.com/config-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rsyslog.com</link>
	<description>rsyslog, the enhanced syslogd</description>
	<lastBuildDate>Wed, 22 Feb 2012 10:56:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using TLS for receiving log messages</title>
		<link>http://www.rsyslog.com/using-tls-for-receiving-log-messages/</link>
		<comments>http://www.rsyslog.com/using-tls-for-receiving-log-messages/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 16:10:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://www.rsyslog.com/?p=588</guid>
		<description><![CDATA[In this guide, we want to describe, how to use the RSyslog Windows Agent with TLS encrypted syslog. This specific part will describe the setup steps for receiving syslog from a Linux rsyslog installation. First, as a preliminary, you should read the guide from the rsyslog documentation for &#8220;Encrypting Syslog Traffic with TLS (SSL)&#8221;. It [...]]]></description>
			<content:encoded><![CDATA[<p>In this guide, we want to describe, how to use the RSyslog Windows Agent with TLS encrypted syslog. This specific part will describe the setup steps for receiving syslog from a Linux rsyslog installation. First, as a preliminary, you should read the guide from the rsyslog documentation for <a href="http://www.rsyslog.com/doc/rsyslog_secure_tls.html" target="_blank">&#8220;Encrypting Syslog Traffic with TLS (SSL)&#8221;</a>. It describes in details the overall setup, how certificates are generated and how the clients and server need to be set. It is strongly suggested to be read as a whole.</p>
<p>Since we will receive syslog messages via TLS and we can only forward messages via syslog (with TLS or without) the whole setup will basically resemble what we described in our guide for <a href="http://www.rsyslog.com/using-rsyslog-windows-agent-as-a-syslog-relay/" target="_blank">a syslog relay</a>. Therefore, we will only show how to setup the syslog service.</p>
<p><strong>Step 1: Machine certificates</strong></p>
<p>The easiest way to create the machine certificates is as described in the Linux guide above. So please create a machine certificate as described here: <a href="http://www.rsyslog.com/doc/tls_cert_machine.html" target="_blank">Generating Machine Certificates</a></p>
<p>Please provide your Windows machine with those certificates. Make sure, that they are safe and cannot get into someones&#8217; hands.</p>
<p><strong>Step 2: Setting up the ruleset and action.</strong></p>
<p>Usually we start by creating the ruleset, rule and action. The reason  lies in the configuration structure. So we will first create the  mentioned items. In the end, we will have a basic rule with no  particular filter and a forward via syslog action. That means, that all  messages will be forwarded to a central host.</p>
<p><a href="../how-to-setup-the-forward-via-syslog-action/" target="_blank">Click here to see the steps.</a></p>
<p><strong>Step 3: Create a Syslog Server Service</strong></p>
<p>Now we need to create a syslog server service.</p>
<p>To create it, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and the &#8220;Syslog Server&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-1.png" alt="" /></p>
<p>Once you have done so, a new wizard starts:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-2.png" alt="" /></p>
<p>Again, you can use either the default name or any one you like. We will use &#8220;My Syslog Server&#8221; in this example. Leave the &#8220;Use default settings&#8221; selected and press &#8220;Next&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-3.png" alt="" /></p>
<p>As we have used the default, the wizard will immediately proceed with step 3, the confirmation page. Press &#8220;Finish&#8221; to create the service. The wizard completes and returns to the configuration client. There, you will see the newly created service beneath the &#8220;Services&#8221; part of the tree view:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-4.png" alt="" /></p>
<p>As you can see, the service has been created with the default parameters. As such, it operates as a RFC compliant standard Syslog server. But, we still need to make some changes so we can receive TLS syslog.</p>
<p><strong>Step 4: Changing to TLS</strong></p>
<p>First we need to change the protocol type. Change it to TCP. TLS syslog is not available with UDP. If you want, you can change the port to what your clients use for sending.</p>
<p>Now in the lower part of the configuration window click on the tab Syslog TLS. This is where the important TLS settings will be made.<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-6.png" alt="" /></p>
<p>Now check the box for &#8220;Enable SSL / TLS Encryption&#8221;. The other options become available now. We suggest using x509/name mode, which is obviously the most secure of the available modes.</p>
<p>Below, select your PEMs that you created in Step 1 and submitted to the machine. It should look something like this, though your paths and certificate names might be different.<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-7.png" alt="" /></p>
<p>Now we can go on to the Permitted Peers tab. Here we define the systems that are allowed to send their syslog messages to our relay host. You could also use wildcards for the peers, like *.example.net. Just look below:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-8.png" alt="" /></p>
<p>That is basically what we need to set up when receiving syslog via TLS.</p>
<p><strong>Final Thoughts</strong></p>
<p>That is just the setup need for receiving syslog via TLS in RSyslog Windows Agent. This is, as we already mentioned before, for a setup where the RSyslog Windows Agent is used as a relay. You could also apply TLS syslog to the outgoing syslog traffic, but that is not what we wanted to show here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/using-tls-for-receiving-log-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using RSyslog Windows Agent to forward log files</title>
		<link>http://www.rsyslog.com/using-rsyslog-windows-agent-to-forward-log-files/</link>
		<comments>http://www.rsyslog.com/using-rsyslog-windows-agent-to-forward-log-files/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 15:22:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[File Monitor]]></category>
		<category><![CDATA[forward via syslog]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=566</guid>
		<description><![CDATA[in this article we describe how to use the RSyslog Windows Agent to forward log messages that are stored in plain text files.  The article itself will be made of two larger steps. Both steps  contain some substeps which will be shown in detail in one of the  smaller articles. We assume, [...]]]></description>
			<content:encoded><![CDATA[<p>in this article we describe how to use the RSyslog Windows Agent to forward log messages that are stored in plain text files.  The article itself will be made of two larger steps. Both steps  contain some substeps which will be shown in detail in one of the  smaller articles. We assume, that no basic configuration is currently  available.</p>
<p>This time, we want to use textfiles as log sources. Many programs for Windows do not use the EventLog system. They use simple and plain text files to store their log messages. Though, the information that is logged there could be as important as EventLogs.</p>
<p>Basically, the configuration of RSyslog Windows Agent consists of 3 parts.</p>
<p>1. A so-called service which generates the log data to be processed by, for example, a file monitor.</p>
<p>2. Rules with Filters. Filters give you the power to decide which log messages are important enough to be kept or not.</p>
<p>3. The action that has to be taken. In our case, forwarding the syslog messages.</p>
<p><strong>Step 1: Setting up the ruleset and action.</strong></p>
<p>Usually we start by creating the ruleset, rule and action. The reason   lies in the configuration structure. So we will first create the   mentioned items. In the end, we will have a basic rule with no   particular filter and a forward via syslog action. That means, that all   messages will be forwarded to a central host.</p>
<p><a href="../how-to-setup-the-forward-via-syslog-action/" target="_blank">Click here to see the steps.</a></p>
<p><strong>Step 2: Setting up the service.</strong></p>
<p>Now we will set up the service. We need to create a File Monitor Service. The File Monitor Service is able to monitor a file or a directory with files. It will check the specified file(s) periodically for new lines (which would be new log messages) and use them for further processing.</p>
<p><a href="http://rsyslog.com/how-to-setup-file-monitor-service/" target="_blank">File Monitor Steps</a></p>
<p>That&#8217;s it, you are already finished. Easy wasn&#8217;t it? Now you should be  able to poll log files and forward the log messages to your central syslog server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/using-rsyslog-windows-agent-to-forward-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using RSyslog Windows Agent as a syslog relay</title>
		<link>http://www.rsyslog.com/using-rsyslog-windows-agent-as-a-syslog-relay/</link>
		<comments>http://www.rsyslog.com/using-rsyslog-windows-agent-as-a-syslog-relay/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 17:01:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[forward via syslog]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>
		<category><![CDATA[syslog relay]]></category>
		<category><![CDATA[syslog server]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=558</guid>
		<description><![CDATA[This time we want to use the RSyslog Windows Agent as a syslog relay. The article itself will be described in two larger steps. Both steps contain some substeps which will be shown in detail in one of the smaller articles. We assume, that no basic configuration is currently available.
This configuration can be used to [...]]]></description>
			<content:encoded><![CDATA[<p>This time we want to use the RSyslog Windows Agent as a syslog relay. The article itself will be described in two larger steps. Both steps contain some substeps which will be shown in detail in one of the smaller articles. We assume, that no basic configuration is currently available.</p>
<p>This configuration can be used to attach several sites to a larger log network. Imagine you have a central log server at your company in your central facility. You have some branch offices around the country and their log messages should be stored in the central location as well. Now it wouldn&#8217;t be very clever to have every computer or device at these sites forward their log messages directly. It would be better to have a central machine at the site, that works as a relay. It will receive all the log messages via syslog and then again forward the messages to the central server. Cascading setups like this ensure a part of the reliability, stability and security of your infrastructure, by keeping the connection count low and lowering the amount of machines using the network.</p>
<p>Basically, the configuration of RSyslog Windows Agent consists of 3 parts.</p>
<p>1. A so-called service which generates the log data to be processed by, for example, a syslog server.</p>
<p>2. Rules with Filters. Filters give you the power to decide which log messages are important enough to be kept or not.</p>
<p>3. The action that has to be taken. In our case, forwarding the syslog messages.</p>
<p><strong>Step 1: Setting up the ruleset and action.</strong></p>
<p>Usually we start by creating the ruleset, rule and action. The reason  lies in the configuration structure. So we will first create the  mentioned items. In the end, we will have a basic rule with no  particular filter and a forward via syslog action. That means, that all  messages will be forwarded to a central host.</p>
<p><a href="../how-to-setup-the-forward-via-syslog-action/" target="_blank">Click here to see the steps.</a></p>
<p><strong>Step 2: Setting up the service.</strong></p>
<p>Now we will set up the service. As we already know, we want to create a syslog server. Therefore we need the syslog server service. It will create a listener, that is listening to syslog traffic on a specific port. You can choose the protocol, like TCP or UDP as well.</p>
<p><a href="http://rsyslog.com/how-to-create-a-syslog-server-service/" target="_blank">Syslog Server Steps</a></p>
<p>That&#8217;s it, you are already finished. Easy wasn&#8217;t it? Now you should be able to receive syslog messages from different devices and forward them from only one machine to your central syslog server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/using-rsyslog-windows-agent-as-a-syslog-relay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forward Windows Eventlogs with RSyslog Windows Agent</title>
		<link>http://www.rsyslog.com/forward-windows-eventlogs-with-rsyslog-windows-agent/</link>
		<comments>http://www.rsyslog.com/forward-windows-eventlogs-with-rsyslog-windows-agent/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 16:42:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[EventLog Monitor]]></category>
		<category><![CDATA[forward via syslog]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=554</guid>
		<description><![CDATA[This article will describe, how to use the RSyslog Windows Agent to forward the local Windows EventLog messages. This article will show the different steps. For this we take you to several smaller guides, that show you, how to setup each part. We assume, that no basic configuration is currently available.
A configuration like this is [...]]]></description>
			<content:encoded><![CDATA[<p>This article will describe, how to use the <strong>RSyslog Windows Agent</strong> to forward the local Windows EventLog messages. This article will show the different steps. For this we take you to several smaller guides, that show you, how to setup each part. We assume, that no basic configuration is currently available.</p>
<p>A configuration like this is needed very often and basically on any Windows machine that should forward it&#8217;s logs. Therefore, this reflects the default configuration after installing the RSyslog Windows Agent. It can be used on machines in your local network or on a site to forward from the single machines to <a href="http://rsyslog.com/using-rsyslog-windows-agent-as-a-syslog-relay/" target="_blank">a central relay server</a>, which then forwards all messages to your company&#8217;s central log server.</p>
<p>Basically, the configuration of RSyslog Windows Agent consists of 3 parts.</p>
<p>1. A so-called service which generates the log data to be processed by, for example, polling the Windows EventLog.</p>
<p>2. Rules with Filters. Filters give you the power to decide which log messages are important enough to be kept or not.</p>
<p>3. The action that has to be taken. In our case, forwarding the syslog messages.</p>
<p><strong>Step 1: Setting up the ruleset and action.</strong></p>
<p>Usually we start by creating the ruleset, rule and action. The reason lies in the configuration structure. So we will first create the mentioned items. In the end, we will have a basic rule with no particular filter and a forward via syslog action. That means, that all messages will be forwarded to a central host.</p>
<p><a href="http://rsyslog.com/how-to-setup-the-forward-via-syslog-action/" target="_blank">Click here to see the steps.</a></p>
<p><strong>Step 2: Setting up the service.</strong></p>
<p>Now we will set up the service. There is one thing to mention first. You need to know choose one of the latter links according to your operating system. This is important, or the setup might not work properly. We have 2 different versions of the EventLog Monitor. Here is a small list in which you can see, which service fits which operating systems.</p>
<p>1. EventLog Monitor: 2000, XP, 2003</p>
<p>2. EventLog Monitor V2: Vista, 2008, 7</p>
<p>This is important. EventLog Monitor V2 will NOT work on the older operating systems. In contrary, the older EventLog Monitor will work on the newer systems, but might not work correctly, so it is advised to used the optimized EventLog Monitor V2. This is due to the massive changes that Microsoft introduced to the EventLog system with Vista.</p>
<p><a href="http://rsyslog.com/how-to-setup-eventlogmonitor-v1-service/" target="_blank">EventLog Monitor Steps</a></p>
<p><a href="http://rsyslog.com/how-to-setup-eventlogmonitor-v2-service/" target="_blank">EventLog Monitor V2 Steps</a></p>
<p>That&#8217;s it, you are already finished. Easy wasn&#8217;t it? Now you should receive your EventLog messages on your central syslog server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/forward-windows-eventlogs-with-rsyslog-windows-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To setup EventLogMonitor V2 Service</title>
		<link>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v2-service/</link>
		<comments>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v2-service/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 16:42:29 +0000</pubDate>
		<dc:creator>teifler</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[eventlog monitor v2]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=547</guid>
		<description><![CDATA[Note: This guide explains how to set up the EventLog Monitor Service for Windows Vista. These steps are not applicable if you are using Windows XP.
1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and then &#8220;Event Log Monitor V2&#8243;:

Again, you can use either the default name or any one you like. We will [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Note: This guide explains how to set up the EventLog Monitor Service for Windows Vista. These steps are not applicable if you are using Windows XP.</strong></p>
<p>1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and then &#8220;Event Log Monitor V2&#8243;:<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v2/RSyslog-Eventlogmonitor_v2-1.png" alt="" /></p>
<p>Again, you can use either the default name or any one you like. We will use the default name in this sample. Leave the &#8220;Use default settings&#8221; selected and press &#8220;Next&#8221;.<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v2/RSyslog-Eventlogmonitor_v2-2.png" alt="" /></p>
<p>2. As we have used the default, the wizard will immediately proceed with step 3, the confirmation page. Press &#8220;Finish&#8221; to create the service. The wizard completes and returns to the configuration client.</p>
<p>3. Now, you will see the newly created service beneath the &#8220;Services&#8221; as part of the tree view. To check its parameters, select it:<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v2/RSyslog-Eventlogmonitor_v2-3.png" alt="" /></p>
<p>As you can see, the service has been created with the default parameters.</p>
<p>Note: The &#8220;Default RuleSet&#8221; has been automatically assigned as the rule set to use. By default, the wizard will always assign the first rule set visible in the tree view to new services.</p>
<p>4. Finally we, bind a ruleset to this service. If you already have a ruleset, simply choose one. If not, then you will have to create one, or insert the actions you want to take in the default ruleset.<br />
Remember, this is only an example. You can do it in any way you want.<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v2/RSyslog-Eventlogmonitor_v2-4.png" alt="" /></p>
<p>5. The last step is to save the changes and start the service. This procedure completes the configuration of the syslog server.<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v2/RSyslog-Eventlogmonitor_v2-5.png" alt="" /></p>
<p>The NT Service cannot dynamically read changed configurations. As such, it needs to be restarted after such changes. In our sample, the service was not yet started, so we simply need to start it. If it already runs, you need to restart it.</p>
<p>That&#8217;s it. This is how you create a simple Event Log Monitor V2 for Vista.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v2-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To setup EventLogMonitor V1 Service</title>
		<link>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v1-service/</link>
		<comments>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v1-service/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 16:42:20 +0000</pubDate>
		<dc:creator>teifler</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[eventlog monitor v1]]></category>
		<category><![CDATA[RSyslog Windows Agent]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=548</guid>
		<description><![CDATA[Attention: This Guide is for Windows XP or 2003 if you use Vista or Win7 then use EventLogMonitor V2.
1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and then &#8220;Event Log Monitor&#8221;:

2. Once you have done so, a new wizard starts.
If the following Popup appears, please select &#8220;Create Service&#8221;:

Again, you can use either the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Attention: This Guide is for Windows XP or 2003 if you use Vista or Win7 then use EventLogMonitor V2.</strong></p>
<p>1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and then &#8220;Event Log Monitor&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v1/RSyslog-Eventlogmonitor_v1-1.png" alt="" /></p>
<p>2. Once you have done so, a new wizard starts.<br />
If the following Popup appears, please select &#8220;Create Service&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v1/RSyslog-Eventlogmonitor_v1-2.png" alt="" /></p>
<p>Again, you can use either the default name or any one you like. We will use &#8220;My Event Log Monitor&#8221; in this sample. Leave the &#8220;Use default settings&#8221; selected and press &#8220;Next&#8221;.<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v1/RSyslog-Eventlogmonitor_v1-3.png" alt="" /></p>
<p>3. As we have used the default, the wizard will immediately proceed with step 3, the confirmation page. Press &#8220;Finish&#8221; to create the service. The wizard completes and returns to the configuration client.</p>
<p>4. Now, you will see the newly created service beneath the &#8220;Services&#8221; part of the tree view. To check its parameters, select it:<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v1/RSyslog-Eventlogmonitor_v1-4.png" alt="" /><br />
As you can see, the service has been created with the default parameters.</p>
<p>Note: The &#8220;Default RuleSet&#8221; has been automatically assigned as the rule set to use. By default, the wizard will always assign the first rule set visible in the tree view to new services. In our case, this is not correct and will be corrected soon.</p>
<p>5. Finally, save the change and start RSyslog Windows Agent.<br />
<img src="http://rsyslog.com/common/stepbystep/RSyslog-Eventlogmonitor-v1/RSyslog-Eventlogmonitor_v1-5.png" alt="" /></p>
<p>That was it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/how-to-setup-eventlogmonitor-v1-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To create a Syslog Server Service</title>
		<link>http://www.rsyslog.com/how-to-create-a-syslog-server-service/</link>
		<comments>http://www.rsyslog.com/how-to-create-a-syslog-server-service/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 16:42:06 +0000</pubDate>
		<dc:creator>teifler</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[syslog server]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=551</guid>
		<description><![CDATA[Create a Syslog Server Service
Now we need to define a Syslog server service. A Syslog server is also sometimes called a &#8220;Syslog daemon&#8221;, &#8220;Syslogd&#8221; or &#8220;Syslog listener&#8221;. It is the process that receives incoming messages.
To define it, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and the &#8220;Syslog Server&#8221;:

Once you have done so, a new [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Create a Syslog Server Service</strong></p>
<p>Now we need to define a Syslog server service. A Syslog server is also sometimes called a &#8220;Syslog daemon&#8221;, &#8220;Syslogd&#8221; or &#8220;Syslog listener&#8221;. It is the process that receives incoming messages.</p>
<p>To define it, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and the &#8220;Syslog Server&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-1.png" alt="" /></p>
<p>Once you have done so, a new wizard starts:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-2.png" alt="" /></p>
<p>Again, you can use either the default name or any one you like. We will use &#8220;My Syslog Server&#8221; in this example. Leave the &#8220;Use default settings&#8221; selected and press &#8220;Next&#8221;:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-3.png" alt="" /></p>
<p>As we have used the default, the wizard will immediately proceed with step 3, the confirmation page. Press &#8220;Finish&#8221; to create the service. The wizard completes and returns to the configuration client. There, you will see the newly created service beneath the &#8220;Services&#8221; part of the tree view:<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-4.png" alt="" /><br />
Attention: All clients must use the same protocol. In my example I use TCP.<br />
<img src="http://rsyslog.com/common/stepbystep/rsyslog-syslog-server/rsyslog-syslog-server-5.png" alt="" /></p>
<p>As you can see, the service has been created with the default parameters. As such, it operates as a RFC compliant standard Syslog server.</p>
<p>Please note that the &#8220;RuleSet 1&#8243; has been automatically assigned as the rule set to use. This is the case because i already created it and it is the only rule set. By default, the wizard will always assign the first rule set visible in the tree view to new services. If another one is to be used, you need to change it to the correct one here in the service definition.</p>
<p>Also, note that the wizard uses the default properties from the &#8220;Service Defaults&#8221;. Obviously, if these are changed, the default properties for new services will differ.</p>
<p>This procedure completes the configuration of the Syslog server.</p>
<p>At least Save and restart the service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/how-to-create-a-syslog-server-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To setup File Monitor Service</title>
		<link>http://www.rsyslog.com/how-to-setup-file-monitor-service/</link>
		<comments>http://www.rsyslog.com/how-to-setup-file-monitor-service/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 16:12:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>

		<guid isPermaLink="false">http://rsyslog.com/how-to-setup-file-monitor-service/</guid>
		<description><![CDATA[How To setup File Monitor Service
Article created 2011-12-29 by Florian Riedl.
1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and  the &#8220;File Monitor&#8221;.

Once you have done so, a new wizard starts.
2. Again, you can use either the default name or any one you like. We  will use &#8220;My FileMonitor&#8221; in this sample. [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>How To setup File Monitor Service</strong></h1>
<p>Article created 2011-12-29 by <a href="mailto:support@adiscon.com">Florian Riedl</a>.</p>
<p>1. First, right click on &#8220;Services&#8221;, then select &#8220;Add Service&#8221; and  the &#8220;File Monitor&#8221;.</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-1.jpg" alt="" /></p>
<p>Once you have done so, a new wizard starts.</p>
<p>2. Again, you can use either the default name or any one you like. We  will use &#8220;My FileMonitor&#8221; in this sample. Leave the &#8220;Use default  settings&#8221; selected and press &#8220;Next&#8221;.</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-2.jpg" alt="" /></p>
<p>3. As we have used the default, the wizard will immediately proceed  with step 3, the confirmation page. Press &#8220;Finish&#8221; to create the  service. The wizard completes and returns to the configuration client.</p>
<p>4. Now, you will see the newly created service beneath the &#8220;Services&#8221;  part of the tree view. To check its parameters, select it:</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-4.jpg" alt="" /></p>
<p>As you can see, the service has been created with the default  parameters.</p>
<p>5. To make this Service work, we need to select a text file as  source. To achieve this, click on the &#8220;Browse&#8221; button as you can see it  marked in the screen above. A browsing window will open up. Move through  your Files and choose one that you would like to monitor. For this  example I chose a text file created by MonitorWare Agent.</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-7.jpg" alt="" /></p>
<p>6. Now we still need to set a ruleset for this service to work  with. Since we have no configured ruleset available at the moment,  simply use the Default Ruleset, if it&#8217;s not being used automatically.</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-5.jpg" alt="" /></p>
<p>7. Last, save the changes and then restart the application. This  procedure completes the configuration of the FileMonitor Service.</p>
<p><img src="/common/stepbystep/images/filemonitor-steps-42-6.jpg" alt="" /></p>
<p>The Application cannot dynamically read changed configurations. As such,  it needs to be restarted after such changes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/how-to-setup-file-monitor-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To setup the Forward via Syslog Action</title>
		<link>http://www.rsyslog.com/how-to-setup-the-forward-via-syslog-action/</link>
		<comments>http://www.rsyslog.com/how-to-setup-the-forward-via-syslog-action/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 12:14:12 +0000</pubDate>
		<dc:creator>teifler</dc:creator>
				<category><![CDATA[Configuration for Windows]]></category>
		<category><![CDATA[forward via syslog]]></category>

		<guid isPermaLink="false">http://rsyslog.com/?p=546</guid>
		<description><![CDATA[This Guide is for the RSyslog Windows Agent.
1. First we define a new rule set. Right-click &#8220;Rules&#8221;. A pop up menu  will appear. Select &#8220;Add Rule Set&#8221; from this menu. On screen, it looks  as follows:

2. Then, a wizard starts. Change the name of the rule to whatever name you like. We will [...]]]></description>
			<content:encoded><![CDATA[<p><strong>This Guide is for the RSyslog Windows Agent.</strong></p>
<p>1. First we define a new rule set. Right-click &#8220;Rules&#8221;. A pop up menu  will appear. Select &#8220;Add Rule Set&#8221; from this menu. On screen, it looks  as follows:<br />
<img src="http://www.rsyslog.com/common/stepbystep/rsyslog-forward-syslog/RSyslog-forward-syslog-1.png" alt="" /></p>
<p>2. Then, a wizard starts. Change the name of the rule to whatever name you like. We will use &#8220;Forward syslog&#8221; in this example. The screen looks as follow:<br />
<img src="http://www.rsyslog.com/common/stepbystep/rsyslog-forward-syslog/RSyslog-forward-syslog-2.png" alt="" /></p>
<p>Click &#8220;Next&#8221; to go on with the next step.</p>
<p>3. Select only Forward via Syslog. Do not select any other options for this sample. Also, leave the &#8220;Create a Rule for each of the following actions&#8221; setting selected. Click &#8220;Next&#8221;. You will see a confirmation page. Click &#8220;Finish&#8221; to create the rule set.<br />
<img src="http://www.rsyslog.com/common/stepbystep/rsyslog-forward-syslog/RSyslog-forward-syslog-3.png" alt="null" /></p>
<p>4. As you can see, the new Rule Set &#8220;Forward syslog&#8221; is present. Please expand it in the tree view until the action level of the &#8220;Forward syslog&#8221; Rule and select the &#8220;Forward syslog&#8221; action to configure.<br />
<img src="http://www.rsyslog.com/common/stepbystep/rsyslog-forward-syslog/RSyslog-forward-syslog-4.png" alt="" /></p>
<p>5. Configure the &#8220;Forward via Syslog&#8221; Action<br />
Type the IP or the Hostname of your syslog server into the  Syslog Server field in the form. Then Change the protocol to &#8220;TCP  (octet-count based framing&#8221;. We use TCP that we will have no traffic lost. And edit the Port to 10514. Attention RSyslog Windows Agent and rsyslog must use the same port and the same protocol.<br />
<img src="http://www.rsyslog.com/common/stepbystep/rsyslog-forward-syslog/RSyslog-forward-syslog-5.png" alt="null" /></p>
<p>6. Finally, make sure you press the &#8220;Save&#8221; button &#8211; otherwise your changes will not be applied. Then start the service and you are done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/how-to-setup-the-forward-via-syslog-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending messages with tags larger than 32 characters</title>
		<link>http://www.rsyslog.com/sende-messages-with-tags-larger-than-32-characters/</link>
		<comments>http://www.rsyslog.com/sende-messages-with-tags-larger-than-32-characters/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 13:57:17 +0000</pubDate>
		<dc:creator>rgerhards</dc:creator>
				<category><![CDATA[Basic Configuration]]></category>
		<category><![CDATA[Config Snippets]]></category>
		<category><![CDATA[The recipies]]></category>
		<category><![CDATA[config snippet]]></category>
		<category><![CDATA[interoperability]]></category>
		<category><![CDATA[rsyslog]]></category>
		<category><![CDATA[syslog]]></category>
		<category><![CDATA[tag]]></category>

		<guid isPermaLink="false">http://www.rsyslog.com/?p=512</guid>
		<description><![CDATA[The relevant syslog RFCs 3164 and 5424 limit the syslog tag to 32 characters max. Messages with larger tag length are malformed and may be discarded by receivers. Anyhow, some folks sometimes need to send tags longer than permitted.
To do so, a new template must be created and used when sending. The simplest way is [...]]]></description>
			<content:encoded><![CDATA[<p>The relevant syslog RFCs 3164 and 5424 limit the syslog tag to 32 characters max. Messages with larger tag length are malformed and may be discarded by receivers. Anyhow, some folks sometimes need to send tags longer than permitted.</p>
<p>To do so, a new template must be created and used when sending. The simplest way is to start with the standard forwarding template. The standard templates are hardcoded inside rsyslog. Thus they do not show up in your configuration file (but you can obtain them from the source, of course). In 5.8.6, the forwarding template is defined as follows:</p>
<pre>$template ForwardFormat,"&lt;%PRI%&gt;%TIMESTAMP:::date-rfc3339% %HOSTNAME%
<span style="color: #ff0000;">%syslogtag:1:32%</span>%msg:::sp-if-no-1st-sp%%msg%"</pre>
<p>NOTE: all templates are on <strong>one </strong>line in rsyslog.conf. They are broken here for readability.</p>
<p>This template is RFC-compliant. Now look at the part in red. It specifies the tag. Note that, via the property replacer, it is restricted to 32 characters (from position 1 to position 32 inclusive). This is what you need to change. To remove the limit &#8230; just remove it ;-) This leads to a template like this:</p>
<pre>$template LongTagForwardFormat,"&lt;%PRI%&gt;%TIMESTAMP:::date-rfc3339% %HOSTNAME%
%syslogtag%%msg:::sp-if-no-1st-sp%%msg%"</pre>
<p>Note that I have renamed the template in order to avoid conflicts with build-in templates. As it is a custom template, it is not hardcoded, so you need to actually configure it in your rsyslog.conf. Then, you need to use that template if you want to send messages to a remote host. This can be done via the usual way. Let&#8217;s assume you use legacy plain TCP syslog. Then the line looks as follows:</p>
<p><code>*.* @@server.example.net;LongTagForwardFormat</code></p>
<p>This will bind the forwarding action to the newly defined template. Now tags of any size will be forwarded. Please keep in mind that receivers may have problems with large tags and may truncate them or drop the whole message. So check twice that the receiver handles long tags well.</p>
<p>Rsyslog supports tags to a build-defined maximum. The current (5.8.6) default is 511 characters, but this may be different if you install from a package, use a newer version of rsyslog or use sources obtained from someone else. So double-check.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rsyslog.com/sende-messages-with-tags-larger-than-32-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

