Arabic date

Hello,

I have an arabic date, and I would like to know if there is a way to do a date match...

my date: "٢٠١٦-٠٤-٠٧t١٩:٤٤:٢٠.٤٠٢z

Thank you!

Do you mean you want to use the date filter? There doesn't seem to be a way to do it directly since that filter's matching uses Java's SimpleDateFormat which doesn't handle those types of characters.

Do you have a way to translate that? I'm not familiar with Arabic dates so can't give much direct advice.

Hello, yes, I would like to use the date filter.
I think the only way to translate would be Google Translate (https://cloud.google.com/translate/docs).
However, can I call this API for each event?

Thank you,

In fact... in java is working...

    String dateArabe = "٢٠١٦-٠٤-٠٧ ١٩:٤٤:٢٠.٤٠٢";
    SimpleDateFormat dt = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS");
    Date date = dt.parse(dateArabe);
    System.out.println(date.toString());

So, why it is not working in logstash... (?)