<?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: how to extract the csv fields at index-time? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/598688#M8822</link>
    <description>&lt;P&gt;thanks woodcok, this saved my day, at least what was left of it after struggling for hours.&lt;/P&gt;&lt;P&gt;This behaviour seems very counter-intuitive; I am used to the concept of UFs beeing dumb and having no notion of events&lt;/P&gt;</description>
    <pubDate>Fri, 20 May 2022 16:02:10 GMT</pubDate>
    <dc:creator>biko</dc:creator>
    <dc:date>2022-05-20T16:02:10Z</dc:date>
    <item>
      <title>How to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400600#M6476</link>
      <description>&lt;P&gt;hi all,&lt;BR /&gt;i'm trying extract the fields from the csv files and my csv file is looks like this,&lt;/P&gt;
&lt;P&gt;just want to extract all fields at index-time only.&lt;/P&gt;
&lt;P&gt;field1,filed2,-,-,-,etc&lt;/P&gt;
&lt;P&gt;and my props.conf is &lt;BR /&gt;[sourcetype]&lt;BR /&gt;INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;FIELD_DELIMITER = ,&lt;BR /&gt;HEADER_FIELD_DELIMITER = ,&lt;/P&gt;
&lt;P&gt;but this is not successful, am i missing something ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 16:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400600#M6476</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2022-05-20T16:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400601#M6477</link>
      <description>&lt;P&gt;Hi @rajasekhar14 &lt;/P&gt;

&lt;P&gt;Your config looks correct. Just make sure this props.conf file Is on the universal forwarder and not the indexer.&lt;/P&gt;

&lt;P&gt;All the best&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400601#M6477</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-18T20:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400602#M6478</link>
      <description>&lt;P&gt;Hi Chris,&lt;BR /&gt;
I haven’t deployed to UF, because we have HF in place between Indexers and UFs. So I deployed to HF.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:37:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400602#M6478</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-18T20:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400603#M6479</link>
      <description>&lt;P&gt;Confusingly, CSV indexed extractions actually happen on the universal forwarder. It needs to be done here becuase it needs to use the header of the file regularly so it knows the column names.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:29:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400603#M6479</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-18T21:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400604#M6480</link>
      <description>&lt;P&gt;Absolutely - a bit more at &lt;A href="https://answers.splunk.com/answers/705488/do-we-need-propsconf-on-the-indexer-when-indexing.html"&gt;Do we need props.conf on the indexer when indexing a csv file?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 02:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400604#M6480</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-02-19T02:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400605#M6481</link>
      <description>&lt;P&gt;No I don't think so. However it doesn't harm to have it there.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 02:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400605#M6481</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-19T02:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400606#M6482</link>
      <description>&lt;P&gt;The &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; feature, unlike most index-time-related features, actually happens on the UF.  So your &lt;CODE&gt;props.conf&lt;/CODE&gt; &lt;EM&gt;must&lt;/EM&gt; be sent to your UF and Splunk restarted there.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 05:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400606#M6482</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-19T05:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400607#M6483</link>
      <description>&lt;P&gt;@rajasekhar14  Where have you placed your props.conf? can you show the stanza in inputs.conf.&lt;/P&gt;

&lt;P&gt;Refer this link - &lt;A href="https://answers.splunk.com/answers/719666/data-not-getting-extracted-correctly-as-per-csv.html"&gt;https://answers.splunk.com/answers/719666/data-not-getting-extracted-correctly-as-per-csv.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 10:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400607#M6483</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2019-02-19T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400608#M6484</link>
      <description>&lt;P&gt;Chris, we are parsing at HF level, so I deployed tob HF.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400608#M6484</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-19T12:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400609#M6485</link>
      <description>&lt;P&gt;@ashajambagi here is the my inputs.conf &lt;BR /&gt;
[monitor:/D:\mytest/splunk.csv]&lt;BR /&gt;
sourcetype=test&lt;BR /&gt;
index=myindex&lt;BR /&gt;
crcSalt = &lt;BR /&gt;
initCrcLength = 256&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400609#M6485</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-19T12:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400610#M6486</link>
      <description>&lt;P&gt;@woodcock, as per all your suggestions i placed these settings in UF and restarted it, but now no luck.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400610#M6486</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-19T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400611#M6487</link>
      <description>&lt;P&gt;Check the format for this :  [monitor:/D:\mytest/splunk.csv]&lt;/P&gt;

&lt;P&gt;[sourcetype]   #have you mentioned test here instead of sourcetype?&lt;BR /&gt;
INDEXED_EXTRACTIONS = CSV&lt;BR /&gt;
FIELD_DELIMITER = ,&lt;BR /&gt;
HEADER_FIELD_DELIMITER = ,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400611#M6487</guid>
      <dc:creator>ashajambagi</dc:creator>
      <dc:date>2020-09-29T23:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400612#M6488</link>
      <description>&lt;P&gt;What do you mean "no luck" &lt;EM&gt;exactly&lt;/EM&gt;?&lt;/P&gt;

&lt;P&gt;Is your data coming in to splunk?  If so, then it &lt;EM&gt;definitely&lt;/EM&gt; is working.&lt;BR /&gt;
With &lt;CODE&gt;INDEXED_EXTRACTIONS&lt;/CODE&gt; it is ALL or NONE.&lt;BR /&gt;
I suspect that you expect this change to fix data that is already in wrong.  It will NOT do that.  You have to send NEW data in, and then it should work.  If data is not coming in, then the only thing that might be causing you a problem is that your &lt;CODE&gt;sourcetype&lt;/CODE&gt; does not match or your Timestamping is wrong so the events are ending up in a timeframe that you did not expect.  Try a timepicker with &lt;CODE&gt;All time&lt;/CODE&gt; to check for the latter.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 13:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400612#M6488</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-19T13:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400613#M6489</link>
      <description>&lt;P&gt;once i deployed these settings to UF its working  &lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 19:05:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400613#M6489</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-26T19:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400614#M6490</link>
      <description>&lt;P&gt;@woodcock now its working. previously it didn't deployed to UF. i have a question that why we need to deployed to UF only? in my case UF is forwarding to HF, and HF is forwarding to Indexers. So my all parsing is happening in HF level to avoid load on Indexers.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 19:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400614#M6490</guid>
      <dc:creator>rajasekhar14</dc:creator>
      <dc:date>2019-02-26T19:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400615#M6491</link>
      <description>&lt;P&gt;Parsing on HF swaps CPU load for port I/O load and a &lt;EM&gt;different&lt;/EM&gt; CPU load in that payload per event is much fatter and is very inefficient.  See here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.splunk.com/blog/2016/12/12/universal-or-heavy-that-is-the-question.html"&gt;https://www.splunk.com/blog/2016/12/12/universal-or-heavy-that-is-the-question.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/400615#M6491</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-02-26T22:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract the csv fields at index-time?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/598688#M8822</link>
      <description>&lt;P&gt;thanks woodcok, this saved my day, at least what was left of it after struggling for hours.&lt;/P&gt;&lt;P&gt;This behaviour seems very counter-intuitive; I am used to the concept of UFs beeing dumb and having no notion of events&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 16:02:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-the-csv-fields-at-index-time/m-p/598688#M8822</guid>
      <dc:creator>biko</dc:creator>
      <dc:date>2022-05-20T16:02:10Z</dc:date>
    </item>
  </channel>
</rss>

