Getting Data In

csv input file column name contains percent sign

grywiner51
Explorer

The .csv file that I am using as input has a column name that begins with a percent sign ("% Complete").  I just noticed that the indexer has been ignoring this column.  Even when I updated the sourcetype to use the first row as column names and it recognized the existence of the column (renamed it as simply "Complete"), it still won't show up as available to use in reports / dashboards.  Is there a way to get around this that does not involve changing the column name?  Thanks.

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Percent signs are not allowed in field names. Let Splunk strip out the '%' and use rename in dashboard and reports to add it in.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Percent signs are not allowed in field names. Let Splunk strip out the '%' and use rename in dashboard and reports to add it in.

---
If this reply helps you, Karma would be appreciated.
0 Karma

grywiner51
Explorer

Splunk wasn't doing that.  It was making believe that the field didn't exist.  But after reading your answer I began playing around with the import settings.  Once I changed the Delimiter Setting from Auto to specify field names on Line 1 Splunk did its thing.  Thanks.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...