<?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 ingesting csv headers with double quotes and % in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/740787#M3634</link>
    <description>&lt;P&gt;I am trying to ingest a csv file which has headers with double quotes " and %. They are separated by comma. But after ingestion if two field names has same name except one has # and the other one has % then it merges both of them into one field while using table output. How to fix this issue. If splunk does`nt support csv headers then i have to remove before ingesting them. Any ideas.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 16:22:18 GMT</pubDate>
    <dc:creator>narenpg</dc:creator>
    <dc:date>2025-03-04T16:22:18Z</dc:date>
    <item>
      <title>ingesting csv headers with double quotes and %</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/740787#M3634</link>
      <description>&lt;P&gt;I am trying to ingest a csv file which has headers with double quotes " and %. They are separated by comma. But after ingestion if two field names has same name except one has # and the other one has % then it merges both of them into one field while using table output. How to fix this issue. If splunk does`nt support csv headers then i have to remove before ingesting them. Any ideas.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 16:22:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/740787#M3634</guid>
      <dc:creator>narenpg</dc:creator>
      <dc:date>2025-03-04T16:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: ingesting csv headers with double quotes and %</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/740809#M3635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/148772"&gt;@narenpg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to use&amp;nbsp;FIELD_NAMES in your props to set the field names in this case,:&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FIELD_NAMES=name,count,count_perc,region&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for this test CSV:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"name","count","count%","region"
"John Smith","245","12.3%","North"
"Mary Johnson","189","9.5%","South" 
"James Williams","167","8.4%","East"
"Sarah Davis","156","7.8%","West"
"Michael Brown","143","7.2%","North"
"Jennifer Wilson","134","6.7%","South"
"Robert Taylor","128","6.4%","East"
"Elizabeth Anderson","112","5.6%","West"
"David Martinez","98","4.9%","North"
"Susan Thompson","87","4.4%","South"&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1741109523407.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37993iBF7585FA6EC778CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1741109523407.png" alt="livehybrid_0-1741109523407.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;livehybrid_0-1741109523407.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 17:32:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/740809#M3635</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-03-04T17:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: ingesting csv headers with double quotes and %</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/741146#M3656</link>
      <description>&lt;P&gt;This seems to be working in the "Add Data" testing, but after adding this sourcetype when i search i dont see the headers. Actually the header starts on line 2, so i added "File Preamble" to skip the first line and start ingesting the headers from line 2 but it is skipping it. What am i missing?&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Mar 2025 16:24:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/ingesting-csv-headers-with-double-quotes-and/m-p/741146#M3656</guid>
      <dc:creator>narenpg</dc:creator>
      <dc:date>2025-03-07T16:24:08Z</dc:date>
    </item>
  </channel>
</rss>

