Example script for "scripted upsert"

The example for "scripted upsert" only mentions a script ID "my_web_session_summariser". Does anyone have the content of that script?
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html#_literal_scripted_upsert_literal

1 Like