labelling different lines on split operation labelling different lines on split operation elasticsearch elasticsearch

labelling different lines on split operation


You need to use the regex functionality of .label

Try this:

.label("Ride ID: $1", "^.* > ride_id:(.+) > .*")

The $1 will be replaced by the first argument in the regex, ride_id:(.+) so you should end up your key labels as:

Ride ID: 4Ride ID: 54Ride ID: 5Ride ID: 14Ride ID: 50