Monitoring Splunk

help on coalesce command with bad performances

jip31
Motivator

Hi

I use the function coalesce but she has very bad performances because I have to query a huge number of host (50000)
I would like to find another solution in order to concatene a same field but which is unfortunately in different languages
could you help me please??

eventtype="toto 
| dedup host
| eval faulting_application_path=coalesce('Faulting application path','Chemin d’accès de l’application défaillante','Pfad der fehlerhaften Anwendung','Ruta de acceso de la aplicación con errores') 
| stats count as Errors by faulting_application_path 
| rename faulting_application_path as Application 
| sort -Errors limit=10
Tags (1)
0 Karma
1 Solution

nickhills
Ultra Champion

I have not tested this, but I think this should have the same effect:

eventtype="toto 
 | dedup host
 | rename 'Faulting application path' as Application, 'Chemin d’accès de l’application défaillante' as Application, 'Pfad der fehlerhaften Anwendung' as Application, 'Ruta de acceso de la aplicación con errores' as Application 
 | stats count as Errors by Application
 | sort -Errors limit=10
If my comment helps, please give it a thumbs up!

View solution in original post

0 Karma

nickhills
Ultra Champion

I have not tested this, but I think this should have the same effect:

eventtype="toto 
 | dedup host
 | rename 'Faulting application path' as Application, 'Chemin d’accès de l’application défaillante' as Application, 'Pfad der fehlerhaften Anwendung' as Application, 'Ruta de acceso de la aplicación con errores' as Application 
 | stats count as Errors by Application
 | sort -Errors limit=10
If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...