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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...