Splunk Search

Automatic key-value field extraction does not handle special characters ?

juleserror
Engager

Hello,

Here is the raw text of my event.

{"country_code":"FR","currency":"EUR","reseller":"Franc\u00e9 Loisirs"}

(note: in the Splunk interface, "Franc\u00e9 Loisirs" is shown correctly "Francé Loisirs")

As you can see, the value of "reseller" contains a special character.
Using spath allows me to return the event:

index="ebook_sales" | spath reseller | search reseller = "Francé Loisirs"

But a classic attribute search returns nothing:

index="ebook_sales" reseller = "Francé Loisirs"

Do you know how to work out this issue?

The input is an HTTP event collector. I tried to use:
- the _json sourcetype
- a custom sourcetype where I played with index-time field extractions and autokv, (even if the default configuration should have done the job)

But I cannot find a solution.

0 Karma

juleserror
Engager

Could it be a Splunk issue?

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...