Splunk Search

How can I display an apostrophe in a column title?

usernamejpblais
Engager

I'm trying to put an apostrophe in a colunm title into a dashboard I tried with renameand fieldformat but it does'nt work.

| rename trCount as "Nombre d'appel"

or

| fieldformat "Nombre d'appel" = tostring('Nombre appel',"Commas")

In fieldformat when I do as above I get a colunm with the right title but I got 2 colunm: Nombre d'appel AND Nombre appel.
I only want Nombre d'appel.

Thx a lot!!!

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@usernamejpblais

I think rename will work for you. See this:

| makeresults | eval trCount ="ABCD" | rename trCount as "Nombre d'appel"

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...