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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...