<?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 Forcepoint  Web Security add-on avoid csv header extraction in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Forcepoint-Web-Security-add-on-avoid-csv-header-extraction/m-p/650830#M2365</link>
    <description>&lt;P&gt;Hi Splunkers, in our environment we onboarded Forcepoint Cloud logs following&amp;nbsp;&lt;A href="https://support.forcepoint.com/s/article/000018341" target="_self"&gt;this guide.&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;In a nuthsell, we have to use a script that regularly pulls data from cloud and place them on a HF, &lt;STRONG&gt;as .csv files;&lt;/STRONG&gt; then, info are sent to Splunk Cloud.&lt;/P&gt;&lt;P&gt;We got the following problem: logs are always of 2 types, the correct one and the "empty one":&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SplunkExplorer_0-1689599938893.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26296i777511E38503B0D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SplunkExplorer_0-1689599938893.png" alt="SplunkExplorer_0-1689599938893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, we have only the field labels, not values. Working with support, we discovered that a possible root case is in the add-on, that sometimes extract the .csv header and manage it like data. So, if we want to solve the problem and avoid to change the script, we could fix the problem going in props.conf of add-on used to parse, which is&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/2966" target="_self"&gt;Splunk Add-on for Forcepoint Web Security&lt;/A&gt;&amp;nbsp;, perform a change and take the correct logs.&lt;/P&gt;&lt;P&gt;So, the question is: if I have to tell in a props.conf "Hey, don't extract the .csv headers", which syntax I have to use?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 13:25:08 GMT</pubDate>
    <dc:creator>SplunkExplorer</dc:creator>
    <dc:date>2023-07-17T13:25:08Z</dc:date>
    <item>
      <title>Forcepoint  Web Security add-on avoid csv header extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Forcepoint-Web-Security-add-on-avoid-csv-header-extraction/m-p/650830#M2365</link>
      <description>&lt;P&gt;Hi Splunkers, in our environment we onboarded Forcepoint Cloud logs following&amp;nbsp;&lt;A href="https://support.forcepoint.com/s/article/000018341" target="_self"&gt;this guide.&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;In a nuthsell, we have to use a script that regularly pulls data from cloud and place them on a HF, &lt;STRONG&gt;as .csv files;&lt;/STRONG&gt; then, info are sent to Splunk Cloud.&lt;/P&gt;&lt;P&gt;We got the following problem: logs are always of 2 types, the correct one and the "empty one":&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SplunkExplorer_0-1689599938893.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/26296i777511E38503B0D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SplunkExplorer_0-1689599938893.png" alt="SplunkExplorer_0-1689599938893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, we have only the field labels, not values. Working with support, we discovered that a possible root case is in the add-on, that sometimes extract the .csv header and manage it like data. So, if we want to solve the problem and avoid to change the script, we could fix the problem going in props.conf of add-on used to parse, which is&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/2966" target="_self"&gt;Splunk Add-on for Forcepoint Web Security&lt;/A&gt;&amp;nbsp;, perform a change and take the correct logs.&lt;/P&gt;&lt;P&gt;So, the question is: if I have to tell in a props.conf "Hey, don't extract the .csv headers", which syntax I have to use?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 13:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Forcepoint-Web-Security-add-on-avoid-csv-header-extraction/m-p/650830#M2365</guid>
      <dc:creator>SplunkExplorer</dc:creator>
      <dc:date>2023-07-17T13:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Forcepoint  Web Security add-on avoid csv header extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Forcepoint-Web-Security-add-on-avoid-csv-header-extraction/m-p/651448#M2370</link>
      <description>&lt;P&gt;Hi there, if the add-on you're using is just ingesting a the CSV file itself, then you can use the following configuration below to tell Splunk about the header fields so it doesn't ingest them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[my_sourcetype]
# Specifies the line number of the line within the file that contains the header fields. If set to 0, Splunk attempts to locate the header fields within the file automatically.
HEADER_FIELD_LINE_NUMBER = 0
# Specifies which character delimits or separates field names in the header line. You can specify special characters in this attribute. If HEADER_FIELD_DELIMITER is not specified, FIELD_DELIMITER applies to the header line.
HEADER_FIELD_DELIMITER = ,&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;More details on ingesting structured data can be found here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.0.2305/Data/Extractfieldsfromfileswithstructureddata" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.0.2305/Data/Extractfieldsfromfileswithstructureddata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 10:19:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Forcepoint-Web-Security-add-on-avoid-csv-header-extraction/m-p/651448#M2370</guid>
      <dc:creator>m_pham</dc:creator>
      <dc:date>2023-07-21T10:19:58Z</dc:date>
    </item>
  </channel>
</rss>

