What is the new Syntax for Event api in 6.0.0 for following example?

Hi ELK team ,

event['app']=event['wmcode'][1..event['wmcode'].length-2]
any reference on this will be great help

Thanks,
Naveen

Try this.

event.set('app', event.get('wmcode')[1..event.get('wmcode').length-2]

Thanks paz

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.