<?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 2008 Text File comes in as garbage in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100643#M21076</link>
    <description>&lt;P&gt;This appears to just be a case of a misread character encoding. This file is saved in what Windows calls "Unicode" format, which is more specifically UTF-16LE. You can ensure that Splunk reads it that way by specifying in props.conf (in the same place where you keep the inputs.conf):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
CHARSET = utf-16le
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;substituting the sourcetype you are assigning in inputs.conf of course.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2013 01:33:15 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2013-10-16T01:33:15Z</dc:date>
    <item>
      <title>Windows 2008 Text File comes in as garbage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100641#M21074</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;Reading in a file via inputs.confg, I have a text file I am reading in. The FIRST instances of reading in the file worked file, but subsequent reads are giving me this. Any idea whats up? &lt;/P&gt;

&lt;P&gt;B\x00E\x00G\x00I\x00N\x00 \x00s\x00s\x00l\x00_\x00T\x00a\x00r\x00g\x00e\x00t\x00=\x00w\x00w\x00w\x00.\x00s\x00t\x00u\x00b\x00h\x00u\x00b\x00.\x00c\x00o\x00m\x00 \x00s\x00s\x00l\x00_\x00I\x00s\x00s\x00u\x00e\x00r\x00=\x00V\x00e\x00r\x00i\x00S\x00i\x00g\x00n\x00 \x00C\x00l\x00a\x00s\x00s\x00 \x003\x00 \x00E\x00x\x00t\x00e\x00n\x00d\x00e\x00d\x00 \x00V\x00a\x00l\x00i\x00d\x00a\x00t\x00i\x00o\x00n\x00 \x00S\x00S\x00L\x00 \x00C\x00A\x00 \x00W\x00r\x00i\x00t\x00e\x00-\x00H\x00o\x00s\x00t\x00 \x00s\x00s\x00l\x00_\x00P\x00o\x00r\x00t\x00=\x004\x004\x003\x00 \x00s\x00s\x00l\x00_\x00V\x00a\x00l\x00i\x00d\x00T\x00o\x00=\x008\x00-\x001\x003\x00-\x002\x000\x001\x005\x00 \x001\x001\x00:\x005\x009\x00:\x005\x009\x00 \x00P\x00M\x00 \x00s\x00s\x00l\x00_\x00V\x00a\x00l\x00i\x00d\x00F\x00r\x00o\x00m\x00=\x008\x00-\x001\x002\x00-\x002\x000\x001\x003\x00 \x001\x002\x00:\x000\x000\x00:\x000\x000\x00 \x00A\x00M\x00 \x00E\x00N\x00D\x00&lt;BR /&gt;
\x00&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100641#M21074</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2020-09-28T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Windows 2008 Text File comes in as garbage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100642#M21075</link>
      <description>&lt;P&gt;I've seen this on files that are active.  Limiting the search to rolled files works good, but the data is old.&lt;BR /&gt;
Looking forward to an answer.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 00:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100642#M21075</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-10-16T00:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Windows 2008 Text File comes in as garbage</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100643#M21076</link>
      <description>&lt;P&gt;This appears to just be a case of a misread character encoding. This file is saved in what Windows calls "Unicode" format, which is more specifically UTF-16LE. You can ensure that Splunk reads it that way by specifying in props.conf (in the same place where you keep the inputs.conf):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype]
CHARSET = utf-16le
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;substituting the sourcetype you are assigning in inputs.conf of course.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 01:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-2008-Text-File-comes-in-as-garbage/m-p/100643#M21076</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-10-16T01:33:15Z</dc:date>
    </item>
  </channel>
</rss>

