<?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: CSV - Dates Columns Removed when Indexed - How can I retrieve/show in raw data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/CSV-Dates-Columns-Removed-when-Indexed-How-can-I-retrieve-show/m-p/480072#M134556</link>
    <description>&lt;P&gt;While extracting data through regex..check if all fields are extracted correctly or not, after that only press submit button&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 11:07:39 GMT</pubDate>
    <dc:creator>spj1oct</dc:creator>
    <dc:date>2020-01-13T11:07:39Z</dc:date>
    <item>
      <title>CSV - Dates Columns Removed when Indexed - How can I retrieve/show in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Dates-Columns-Removed-when-Indexed-How-can-I-retrieve-show/m-p/480071#M134555</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have a CSV file that contains 8 columns and 3 of the row entries contain time/date fields. Two are not appearing in the raw event data within Splunk. (I'm using RegEx to create fields and my RegEx no longer works because the data is missing from each event).&lt;/P&gt;

&lt;P&gt;Example row from CSV file: &lt;CODE&gt;12-20-2019 09:16, text1, text2, 01-03-2020 14:09, text3, text4, text5, 01-03-2020 14:09&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;What I see in raw Splunk Event data:  &lt;CODE&gt;text1, text2, ****01-03-2020 14:09**,** text3, text4, text5&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The first date/time field, although missing from raw data, is being used to set the event time. The second entry is there. The third entry has been removed completely. &lt;/P&gt;

&lt;P&gt;Could anyone please offer an explanation as to why two of the fields are missing when indexed?&lt;/P&gt;

&lt;P&gt;Thanks for your help! &lt;/P&gt;

&lt;P&gt;[Splunk version: 8.0.0]&lt;/P&gt;

&lt;P&gt;EDIT: Here's a screenshot of the raw data in Splunk. As you can see, the last column has been removed upon being indexed but exists in the CSV file. However today, for some reason, the first column is now being indexed again! I'm very confused! &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8184iA858D285D99213FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 11:10:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Dates-Columns-Removed-when-Indexed-How-can-I-retrieve-show/m-p/480071#M134555</guid>
      <dc:creator>driva</dc:creator>
      <dc:date>2020-01-07T11:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: CSV - Dates Columns Removed when Indexed - How can I retrieve/show in raw data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/CSV-Dates-Columns-Removed-when-Indexed-How-can-I-retrieve-show/m-p/480072#M134556</link>
      <description>&lt;P&gt;While extracting data through regex..check if all fields are extracted correctly or not, after that only press submit button&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 11:07:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/CSV-Dates-Columns-Removed-when-Indexed-How-can-I-retrieve-show/m-p/480072#M134556</guid>
      <dc:creator>spj1oct</dc:creator>
      <dc:date>2020-01-13T11:07:39Z</dc:date>
    </item>
  </channel>
</rss>

