@ITWhisperer This is working fine but I would like to replace the bunch of AND NOT FICHIER="filename" by a lookup that will contain all of those file. index=my_index | eval APL=if(APL=="", "n/a", APL) | where NOT FICHIER="DEVLP.FEXTORG.O04750.PC.REC.J04525" AND NOT FICHIER="DEV.FEXTORG.O04746.PC.REC.J04525" AND NOT FICHIER="DEV.FEXTORG.O01758.PC.REC.J04525" AND NOT FICHIER="DEV.FEXTORG.O02104.PC.REC.J04525" AND NOT FICHIER="DEV.FEXTORG.O02104.PC.REC.J04525.Y" AND NOT FICHIER="DEV.PDOI.J04AVIS" AND NOT FICHIER="CICSDEV.DFHJ04.A0007671.DATA" AND NOT like(FICHIER, "%J69%") | lookup SICListeRespCodeApplication_lookup CodeApplication as APL OUTPUT ResponsableTI Courriel | eval ResponsableTI=trim(ResponsableTI), Courriel=trim(Courriel) | stats count by ResponsableTI Courriel APL | eval AppInfo = APL . " (" . count . ")" | stats values(AppInfo) as Applications by ResponsableTI Courriel | eval Applications = mvjoin(Applications, ", ") | table ResponsableTI Courriel Applications Result: ResponsableTI Courriel Applications John Doe john.doe@gmail.com J25 (544), J37 (510) Jane Doe jane.doe@gmail.com E26 (33), E30 (2), E73 (8), J04 (401), J10 (42), J14 (1), J24 (9), J30 (15897), J32 (371), J34 (584), J36 (356), J76 (297), J96 (1) Jim Doe jim.doe@gmail.com J45 (98), JLE (2)
... View more