Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kibana Scripted Field, Connections ms to Seconds
double val = doc['connection_duration'].value;
return val / (60.0 * 60.0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment