Rs.8000.00 withdrawn from ATM using logstash

how to get amount from above sentence and convert into integer.


You can use the grok filter for example using the following pattern:

Rs.%{DATA:AMOUNT} withdrawn from ATM using logstash

Now, you have the value but it is still a string. For the number conversion you can then use the mutate filter.

Best regards

Thank You Wolfram,
You saved my time, now it is working properly.

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