<?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: source type issues in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28933#M4977</link>
    <description>&lt;P&gt;I generally would advise not to use &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt;. As far as the time stamp issue, that's tricky to debug, but my guess is Splunk is for whatever reason not reading your Julian days and getting the date from the last-mod time on the files.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2012 00:53:05 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2012-04-18T00:53:05Z</dc:date>
    <item>
      <title>source type issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28932#M4976</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;we have started working with splunk to deal with a pile of date.  for that we have created a custom source type and put it in the props.conf file.  it looks like this:&lt;/P&gt;

&lt;P&gt;[mk_csv]&lt;/P&gt;

&lt;P&gt;CHECK_FOR_HEADER = true&lt;/P&gt;

&lt;P&gt;KV_MODE = none&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK = 1&lt;/P&gt;

&lt;P&gt;SHOULD_LINEMERGE = False&lt;/P&gt;

&lt;P&gt;TIME_FORMAT = %Y-%jT%H:%M:%S.%3N&lt;/P&gt;

&lt;P&gt;pulldown_type = 1&lt;/P&gt;

&lt;P&gt;TZ = UTC&lt;/P&gt;

&lt;P&gt;that is in ./splunk/etc/system/local/props.conf and yes we restarted the server &lt;/P&gt;

&lt;P&gt;So far so good. we added the source type to the data inputs.  we built a new index mk_mission.&lt;/P&gt;

&lt;P&gt;Now from the search window if I run a sourcetype="mk_csv" nothing shows up.  however I do find that there is now a mk_csv-3 with 37 events in it,  it even correctly displays the julian dates (the %j in the time_format)&lt;/P&gt;

&lt;P&gt;last problem.  I configured the data inputs to use julian time as seen above however everything indexed is showing up with the wrong dates,  always a bit early&lt;BR /&gt;&lt;BR /&gt;
examples:&lt;/P&gt;

&lt;P&gt;search index for sourcetype="mk_csv-3"&lt;/P&gt;

&lt;P&gt;record returned:&lt;/P&gt;

&lt;P&gt;4/13/12 6:32:52.138 PM    with the time stamp from the entry as: 2012-104T18:32:52.138&lt;/P&gt;

&lt;P&gt;that looks like the sourcetype in the props.conf is working correctly&lt;/P&gt;

&lt;P&gt;search for:&lt;/P&gt;

&lt;P&gt;index="mk_mission_gra_eng"&lt;/P&gt;

&lt;P&gt;get:&lt;/P&gt;

&lt;P&gt;4/6/12 9:11:09.467 PM  from 2012-088T21:11:09.467&lt;/P&gt;

&lt;P&gt;4/6/12 5:42:38.170 PM from 2012-081T17:42:38.170&lt;/P&gt;

&lt;P&gt;4/6/12 4:05:10.097 PM from 2012-102T16:05:10.097&lt;/P&gt;

&lt;P&gt;4/5/12 11:17:30.163 PM from 2012-101T23:17:30.163&lt;/P&gt;

&lt;P&gt;as near as I can tell this is not what I would expect since we set the source type as the data input level.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28932#M4976</guid>
      <dc:creator>cnhn</dc:creator>
      <dc:date>2020-09-28T11:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: source type issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28933#M4977</link>
      <description>&lt;P&gt;I generally would advise not to use &lt;CODE&gt;CHECK_FOR_HEADER&lt;/CODE&gt;. As far as the time stamp issue, that's tricky to debug, but my guess is Splunk is for whatever reason not reading your Julian days and getting the date from the last-mod time on the files.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2012 00:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28933#M4977</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-04-18T00:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: source type issues</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28934#M4978</link>
      <description>&lt;P&gt;how do you eliminate the static column headers from the csv files without CHECK_FOR_HEADERS?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/source-type-issues/m-p/28934#M4978</guid>
      <dc:creator>cnhn</dc:creator>
      <dc:date>2020-09-28T11:41:32Z</dc:date>
    </item>
  </channel>
</rss>

