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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...