Splunk Search

Datamodel with spaces in field names?

szabados
Communicator

I created a datamodel from a source, which had spaces in the field names, but field were automatically created with the same names, just omitting the spaces. Both were shown when at the Add Auto-Extracted Field window, like this:
"Field Name" (original)
"FieldName" (automatically created)

I moved my app to another search head, but I can't create the same datamodel, because of the spaces ...
I get the " Field Name can not contain whitespace, double quotes, single quotes, curly braces or asterisks. " error message.

How to fix this ?

1 Solution

szabados
Communicator

The issue was on my side...I forgot that in my props.conf I've explicitly defined the header to use, that's why I had field names without spaces.

View solution in original post

0 Karma

szabados
Communicator

The issue was on my side...I forgot that in my props.conf I've explicitly defined the header to use, that's why I had field names without spaces.

0 Karma

kishorksudha
Explorer

Anyone could find a solution to this

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...