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
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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...