See if you can avoid join by getting LPN1 and LPN2 and coalescing them. Then do a stats to get the values needed. source="C:\\Logs\\*" host="myHost" index="dumpchutes" ("TELEGRAMID=[42]" "LastDestination=[51]") OR ("TELEGRAMID=[CONTAINERSTATUS]" "ContainerState=[DIVERTED]" "Divert=[PALLETIZE]" "ReasonCode=[DS]")
| rex "OriginalDestination=\[(?<OriginalDestination>[^\]]+)"
| rex "OriginalDestinationState=\[(?<OriginalDestinationState>[^\]]+)"
| rex "EntrancePoint=\[(?<EntrancePoint>[^\]]+)"
| rex "EntranceState=\[(?<EntranceState>[^\]]+)"
| rex "ExitPoint=\[(?<Chute>[^\]]+)"
| rex "ExitState=\[(?<ExitState>[^\]]+)"
| rex "BarcodeScannerId=\[(?<BarcodeScanner>[^\]]+)"
| rex "BarcodeScannerDataState=\[(?<BarcodeScannerDataState>[^\]]+)"
| rex "BarcodeScannerData=\[(?<LPN1>[^\]]+)"
| rex "Length=\[(?<Length>[^\]]+)"
| rex "Width=\[(?<Width>[^\]]+)"
| rex "Height=\[(?<Height>[^\]]+)"
| rex "LocationBarcode=\[(?<LocationBarcode>[^\]]+)"
| rex "PalletId=\[(?<ChuteHolder>[^\]]+)"
| rex "LpnNumber=\[(?<LPN2>[^\]]+)"
| rex "WcsLocation=\[(?<WcsLocation>[^\]]+)"
| rex "LocationBarcode=\[(?<LocationBarcode>[^\]]+)"
| eval LPN=coalesce(LPN1,LPN2)
| stats values(*) as * by LPN
... View more