<?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: Prop Conf for CSV input data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559718#M159018</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234909"&gt;@SplunkDash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you try this and deploy it to UF not on HF/intermediate forwarder. Restart UF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;## props.conf
[your_sourcetype]
HEADER_FIELD_LINE_NUMBER = 1
INDEXED_EXTRACTIONS = CSV
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;An upvote would be appreciated and Accept the solution if this reply helps!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 23:33:39 GMT</pubDate>
    <dc:creator>venkatasri</dc:creator>
    <dc:date>2021-07-15T23:33:39Z</dc:date>
    <item>
      <title>Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559700#M159011</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please let me know how I would write Props Configuration file for this csv file. Segment of sample data for this csv file is given below. Any help will be highly appreciated, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malekmo_1-1626381853803.png" style="width: 757px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15117i1AE5711F41B637A0/image-dimensions/757x87?v=v2" width="757" height="87" role="button" title="malekmo_1-1626381853803.png" alt="malekmo_1-1626381853803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559700#M159011</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-07-15T20:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559704#M159012</link>
      <description>&lt;P&gt;Since you have structured data with a header you can use the built-in CSV sourcetype. Just set sourcetype = csv inputs.conf on your forwarder.&lt;BR /&gt;&lt;BR /&gt;Or you can create a custom one using INDEXED_EXTRACTIONS = csv&lt;BR /&gt;See the documentation below for details and additional settings.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Extractfieldsfromfileswithstructureddata#Use_configuration_files_to_enable_automatic_header-based_field_extraction" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Extractfieldsfromfileswithstructureddata#Use_configuration_files_to_enable_automatic_header-based_field_extraction&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 20:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559704#M159012</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-07-15T20:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559714#M159015</link>
      <description>&lt;P&gt;Thank you. But, I used&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;DATETIME_CONFIG=current&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;SHOULD_LINEMERGE=false&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;LINE_BREAKER=([\r\n]+)&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;NO_BINARY_CHECK=true&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;CHARSET=UTF-8&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;EVAL-_raw=replace(_raw,"\"","")&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;INDEXED_EXTRACTIONS=csv&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;KV_MODE=none&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;category=Structured&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;but, showing no events.......when I take off "DATETIME_CONFIG=current" and leave this value blank... it's showing events with error messages ("Failed to parse timestamp"). Any help will be highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559714#M159015</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-07-15T21:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559716#M159016</link>
      <description>&lt;P&gt;Where are you putting this? Also, why are you doing replacements on _raw?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:49:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559716#M159016</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2021-07-15T21:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559717#M159017</link>
      <description>&lt;P&gt;_raw&amp;nbsp; just generated automatically from the system when I pull the source file&amp;nbsp; through SPLUNK web console to test my PROPS. It doesn't make any differences if I take off take option&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:54:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559717#M159017</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-07-15T21:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Prop Conf for CSV input data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559718#M159018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234909"&gt;@SplunkDash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you try this and deploy it to UF not on HF/intermediate forwarder. Restart UF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;## props.conf
[your_sourcetype]
HEADER_FIELD_LINE_NUMBER = 1
INDEXED_EXTRACTIONS = CSV
DATETIME_CONFIG = CURRENT&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;An upvote would be appreciated and Accept the solution if this reply helps!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 23:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Prop-Conf-for-CSV-input-data/m-p/559718#M159018</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-15T23:33:39Z</dc:date>
    </item>
  </channel>
</rss>

