<?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 Re: Windows Forwarder reading file just fine while Linux isn't. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Forwarder-reading-file-just-fine-while-Linux-isn-t/m-p/112933#M23660</link>
    <description>&lt;P&gt;This is due to a difference of the default CHARSET setting in the props.conf in Windows vs. Linux.&lt;/P&gt;

&lt;P&gt;By default, the CHARSET in Windows is set to AUTO, and will determine which CHARSET to use.&lt;/P&gt;

&lt;P&gt;In Linux, it defaults to UTF-8.&lt;/P&gt;

&lt;P&gt;The fix is to add the following to the props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
CHARSET=UTF16-LE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Jul 2015 15:02:22 GMT</pubDate>
    <dc:creator>bosburn_splunk</dc:creator>
    <dc:date>2015-07-10T15:02:22Z</dc:date>
    <item>
      <title>Windows Forwarder reading file just fine while Linux isn't.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Forwarder-reading-file-just-fine-while-Linux-isn-t/m-p/112932#M23659</link>
      <description>&lt;P&gt;I'm migrating from a Windows server to a Linux machine, and I'm finding that the Linux machine isn't reading a specific file.  The file is UTF16-LE per the file command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@bpoundiag01 xml]# file test.xml 
test.xml: Little-endian UTF-16 Unicode text, with very long lines
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why isn't this working?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 14:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Forwarder-reading-file-just-fine-while-Linux-isn-t/m-p/112932#M23659</guid>
      <dc:creator>bosburn_splunk</dc:creator>
      <dc:date>2015-07-10T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Forwarder reading file just fine while Linux isn't.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Forwarder-reading-file-just-fine-while-Linux-isn-t/m-p/112933#M23660</link>
      <description>&lt;P&gt;This is due to a difference of the default CHARSET setting in the props.conf in Windows vs. Linux.&lt;/P&gt;

&lt;P&gt;By default, the CHARSET in Windows is set to AUTO, and will determine which CHARSET to use.&lt;/P&gt;

&lt;P&gt;In Linux, it defaults to UTF-8.&lt;/P&gt;

&lt;P&gt;The fix is to add the following to the props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
CHARSET=UTF16-LE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Jul 2015 15:02:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Forwarder-reading-file-just-fine-while-Linux-isn-t/m-p/112933#M23660</guid>
      <dc:creator>bosburn_splunk</dc:creator>
      <dc:date>2015-07-10T15:02:22Z</dc:date>
    </item>
  </channel>
</rss>

