Hi,
Grok pattern (?\d{0-6}) %{WORD:loglevel} %{BASE10NUM:amount}
I have following set of colums col1=cardNUmber,col2=Info,col3=Amount
Data are:
123456 Failed 123.40
123456 Failed 1234
123456 Success 1200
123 Failed 120
Now , i want to aggregate total amount based on particular card number for example: my output for above should be like this
123456 failed (123.40+1234)
123456 success 1200
123 Failed 120
I know we can use aggregate function but still am confusing how should i apply here
Please help me out with example
Thanks
Gaurav