<?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: Receiving x's &amp; 0's.............sometimes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-x-s-0-s-sometimes/m-p/85513#M17776</link>
    <description>&lt;P&gt;That's what Splunk does with characters that are outside of the charset. The default charset is utf-8. I'm guessing the files are not utf-8 and sometimes it's okay, and sometimes it isn't?&lt;/P&gt;

&lt;P&gt;You can try other charsets in props.conf. The most common I've seen outside utf-8 is  UTF-16LE. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Data/Configurecharactersetencoding"&gt;http://www.splunk.com/base/Documentation/4.2.1/Data/Configurecharactersetencoding&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2011 01:26:20 GMT</pubDate>
    <dc:creator>vbumgarner</dc:creator>
    <dc:date>2011-04-21T01:26:20Z</dc:date>
    <item>
      <title>Receiving x's &amp; 0's.............sometimes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-x-s-0-s-sometimes/m-p/85512#M17775</link>
      <description>&lt;P&gt;I have a script that queries a database and outputs the results to a csv file.  When the file is finished being written to, the csv file is moved to a monitored directory and eaten by a universal forwarder. This process happens twice a day, once at 1200 and again at 2400.  The first file (at 1200), is received by our indexers fine. The second file however always looks similar to this:&lt;/P&gt;

&lt;P&gt;\x002\x000\x001\x001\x00-\x000\x004\x00-\x001\x009\x00 \x001\x002\x00:\x000\x000\x00:\x000\x001\x00.\x009\x001\x007\x000\x000\x000\x000\x000\x000\x00,\x00F\x00i\x00l\x00e\x00 \x00C\x00o\x00p\x00y\x00,\x005\x000\x001\x003\x000\x004\x006\x006\x003\x00,\x00c\x00f\x00s\x00l\x00o\x00u\x0&lt;/P&gt;

&lt;P&gt;Process is all the same, script, database, directories, query, etc.  The only thing that is different is the time that the script is executed.  Thoughts? &lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2011 18:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Receiving-x-s-0-s-sometimes/m-p/85512#M17775</guid>
      <dc:creator>carmackd</dc:creator>
      <dc:date>2011-04-20T18:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving x's &amp; 0's.............sometimes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-x-s-0-s-sometimes/m-p/85513#M17776</link>
      <description>&lt;P&gt;That's what Splunk does with characters that are outside of the charset. The default charset is utf-8. I'm guessing the files are not utf-8 and sometimes it's okay, and sometimes it isn't?&lt;/P&gt;

&lt;P&gt;You can try other charsets in props.conf. The most common I've seen outside utf-8 is  UTF-16LE. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Data/Configurecharactersetencoding"&gt;http://www.splunk.com/base/Documentation/4.2.1/Data/Configurecharactersetencoding&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2011 01:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Receiving-x-s-0-s-sometimes/m-p/85513#M17776</guid>
      <dc:creator>vbumgarner</dc:creator>
      <dc:date>2011-04-21T01:26:20Z</dc:date>
    </item>
  </channel>
</rss>

