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!

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

Register Join this Tech Talk to learn how unique features like Service Centric Views, Tag Spotlight, and ...