<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Best way to write syslog to a file on windows? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-write-syslog-to-a-file-on-windows/m-p/22064#M3344</link>
    <description>&lt;P&gt;According to the &lt;A href="http://www.splunk.com/base/Deploy:Best_Practice_For_Configuring_Syslog_Input" rel="nofollow"&gt;wiki&lt;/A&gt; the best practice for syslog is having another program write the files to disk then have Splunk monitor the files.&lt;/P&gt;

&lt;P&gt;What are some good programs you (or your clients) have used to accomplish this?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2010 22:40:37 GMT</pubDate>
    <dc:creator>Jason</dc:creator>
    <dc:date>2010-07-28T22:40:37Z</dc:date>
    <item>
      <title>Best way to write syslog to a file on windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-write-syslog-to-a-file-on-windows/m-p/22064#M3344</link>
      <description>&lt;P&gt;According to the &lt;A href="http://www.splunk.com/base/Deploy:Best_Practice_For_Configuring_Syslog_Input" rel="nofollow"&gt;wiki&lt;/A&gt; the best practice for syslog is having another program write the files to disk then have Splunk monitor the files.&lt;/P&gt;

&lt;P&gt;What are some good programs you (or your clients) have used to accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 22:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-write-syslog-to-a-file-on-windows/m-p/22064#M3344</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2010-07-28T22:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to write syslog to a file on windows?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-write-syslog-to-a-file-on-windows/m-p/22065#M3345</link>
      <description>&lt;P&gt;I have used both &lt;A href="http://www.kiwisyslog.com/" rel="nofollow"&gt;Kiwi Syslog Daemon&lt;/A&gt; and &lt;A href="http://sourceforge.net/projects/syslog-win32/" rel="nofollow"&gt;syslog-win32&lt;/A&gt; with success on Windows.&lt;/P&gt;

&lt;P&gt;If you like GUIs use Kiwi. Free version of Kiwi will let you use only a single log file though -- you will have to split by host at index time using props.conf and transforms.conf. Set up Kiwi to log to file in the Kiwi format "ISO yyyy-mm-dd Tab Delimited". Then use the following config stanzas:&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://E:\Syslogd\Logs\SyslogCatchAll.txt]
sourcetype = local_syslog
source = syslog
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[local_syslog]
TRANSFORMS-localsyslog=set_local_syslog_hostname
SHOULD_LINEMERGE = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_local_syslog_hostname]
DEST_KEY = MetaData:Host
REGEX = \d+\-\d+\-\d+\s+\d+:\d+:\d+\s+[\w\.]+\s+([\w\.]+)\s
FORMAT = host::$1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jul 2010 23:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Best-way-to-write-syslog-to-a-file-on-windows/m-p/22065#M3345</guid>
      <dc:creator>ftk</dc:creator>
      <dc:date>2010-07-28T23:02:14Z</dc:date>
    </item>
  </channel>
</rss>

