I would like find the duration between current time and updatedAt time of
document stored in ES ..
I am trying to use scripting..
script should get
- current time
- then find the difference in minutes
- and then do some more calculations..
I tried with multiple ways, But I am getting errors like this
java.lang.SecurityException: Expression [ConstructorCallExpression] is not
[org.joda.time.format.ISODateTimeFormat] is not allowed
java.lang.SecurityException: Method calls not allowed
Please help me to find the solution for this...
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c3adcab2-ffd5-42d1-b601-248e0e5e274e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.