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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...