Lessons learned: Configuring JWT authentication in OpenSearch (v2.0.0)

Opensearch has support for using JWT authentication: https://opensearch.org/docs/latest/security-plugin/configuration/configuration/#json-web-token This is a really nifty feature when integrating with 3rd party solutions to provide SSO. For various reasons, my main focus was on getting JWT URL parameters to work, i.e. being able to pass the JWT to opensearch and dashboards via the URL. Here are some important … Continue reading Lessons learned: Configuring JWT authentication in OpenSearch (v2.0.0)

Nugget Post: Finding Average length of field in ElasticSearch

It's sometimes useful to find the average length or size of a given field in Elasticsearch. It would help indicate the size taken up by a document, or help determine maximum lengths to be allowed and so on. Unfortunately this is not a visualization built into Kibana, however it is possible to define an aggregation … Continue reading Nugget Post: Finding Average length of field in ElasticSearch