<?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: Why the header from psv file sometimes  being indexed and fields are not extracted while in  most times it is ok in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550283#M91388</link>
    <description>&lt;P&gt;Can you be certain that there always is a header line and that it is always line 1? Have you tried to set&amp;nbsp;&lt;SPAN&gt;HEADER_FIELD_LINE_NUMBER to '0' to let Splunk figure it out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, is it possible that the file is being overwritten vs. being rolled while it is read?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 21:57:21 GMT</pubDate>
    <dc:creator>s2_splunk</dc:creator>
    <dc:date>2021-05-03T21:57:21Z</dc:date>
    <item>
      <title>Why the header from psv file sometimes  being indexed and fields are not extracted while in  most times it is ok</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550262#M91385</link>
      <description>&lt;P&gt;One of our teams on-boards psv logs and while the data on-boarded correctly in most case, sometimes the header is not recognized and field extraction is not happening.&amp;nbsp;&lt;BR /&gt;props.conf:&lt;/P&gt;&lt;P&gt;[status_psv]&lt;BR /&gt;INDEXED_EXTRACTIONS = PSV&lt;BR /&gt;KV_MODE = none&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;TIMESTAMP_FIELDS = rqid&lt;BR /&gt;TIME_FORMAT = %s%6Q&lt;BR /&gt;MAX_DAYS_HENCE = 5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what are the possible reasons for some logs ST being ignored&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 19:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550262#M91385</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2021-05-03T19:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why the header from psv file sometimes  being indexed and fields are not extracted while in  most times it is ok</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550283#M91388</link>
      <description>&lt;P&gt;Can you be certain that there always is a header line and that it is always line 1? Have you tried to set&amp;nbsp;&lt;SPAN&gt;HEADER_FIELD_LINE_NUMBER to '0' to let Splunk figure it out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, is it possible that the file is being overwritten vs. being rolled while it is read?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 21:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550283#M91388</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-05-03T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why the header from psv file sometimes  being indexed and fields are not extracted while in  most times it is ok</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550425#M91403</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/199268"&gt;@s2_splunk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for you suggestions!&lt;BR /&gt;&lt;BR /&gt;Majority (99.9%) of logs have header set as a 1st line and this Sourcetype works for other logs.&lt;BR /&gt;What makes this issue harder to troubleshoot that&amp;nbsp; the files are deleted after they ingested.&lt;BR /&gt;We were not successful to catch the actual log file so far.&amp;nbsp; the team will try&amp;nbsp;&lt;SPAN&gt;HEADER_FIELD_LINE_NUMBER = 0 (which is default anyway) , but they want to troubleshoot without this change first&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 15:59:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-the-header-from-psv-file-sometimes-being-indexed-and-fields/m-p/550425#M91403</guid>
      <dc:creator>mlevsh</dc:creator>
      <dc:date>2021-05-04T15:59:10Z</dc:date>
    </item>
  </channel>
</rss>

