<?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: CHECK_FOR_HEADER identifying incorrect delimiter in CSV header in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CHECK-FOR-HEADER-identifying-incorrect-delimiter-in-CSV-header/m-p/41501#M7708</link>
    <description>&lt;P&gt;We've deprecated &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt; in Splunk 6 and replaced it with more robust header controls.  See:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2014 17:01:34 GMT</pubDate>
    <dc:creator>ogdin</dc:creator>
    <dc:date>2014-02-13T17:01:34Z</dc:date>
    <item>
      <title>CHECK_FOR_HEADER identifying incorrect delimiter in CSV header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CHECK-FOR-HEADER-identifying-incorrect-delimiter-in-CSV-header/m-p/41500#M7707</link>
      <description>&lt;P&gt;We have a system, Splunk 4.2.1 (build 98164), that scans a directory to read in CSV files, which include comma-delimited header lines.&lt;/P&gt;

&lt;P&gt;This usually works fine, but periodically, instead of properly interpreting the header line, the CHECK_FOR_HEADER/AutoHeader function identifies a space as the delimiter, even though there are no spaces in the header line, and creates an AutoHeader in which the entire comma-delimited header is identified as one big field name:&lt;/P&gt;

&lt;P&gt;[AutoHeader-11]&lt;BR /&gt;
DELIMS = " "&lt;BR /&gt;
FIELDS = "SessionID,AnalyzerIP,AnalyzerID,PopNm,TimeStamp,Date,Hour,Minute,TzOfstMins,TzDst,TzNm,TzDstNm,ClientIP,ServerIP,Protocol,Tag,TimeStampFrac,ProtocolEventID,ID,Proto,Type,Name,Class,TTL,Rdata"&lt;/P&gt;

&lt;P&gt;The line in the file is perfectly ordinary, formatted identically to header lines that are processed correctly. In fact, earlier in transforms.conf, the exact same header is identified correctly:&lt;/P&gt;

&lt;P&gt;[AutoHeader-7]&lt;BR /&gt;
DELIMS = ","&lt;BR /&gt;
FIELDS = "SessionID", "AnalyzerIP", "AnalyzerID", "PopNm", "TimeStamp", "Date", "Hour", "Minute", "TzOfstMins", "TzDst", "TzNm", "TzDstNm", "ClientIP", "ServerIP", "Protocol", "Tag", "TimeStampFrac", "ProtocolEventID", "ID", "Proto", "Type", "Name", "Class", "TTL", "Rdata"&lt;/P&gt;

&lt;P&gt;Does anyone have any idea what could cause this?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CHECK-FOR-HEADER-identifying-incorrect-delimiter-in-CSV-header/m-p/41500#M7707</guid>
      <dc:creator>scaster</dc:creator>
      <dc:date>2020-09-28T11:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK_FOR_HEADER identifying incorrect delimiter in CSV header</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CHECK-FOR-HEADER-identifying-incorrect-delimiter-in-CSV-header/m-p/41501#M7708</link>
      <description>&lt;P&gt;We've deprecated &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt; in Splunk 6 and replaced it with more robust header controls.  See:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Extractfieldsfromfileheadersatindextime&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 17:01:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CHECK-FOR-HEADER-identifying-incorrect-delimiter-in-CSV-header/m-p/41501#M7708</guid>
      <dc:creator>ogdin</dc:creator>
      <dc:date>2014-02-13T17:01:34Z</dc:date>
    </item>
  </channel>
</rss>

