A single Elasticsearch query that was recently run against a tenant, kept in a rolling in-memory list so the admin debug UI can show what search traffic has just happened. Recorded by an ElasticSearchManager implementation each time it issues a search, alongside who ran it and what server-side operation was in progress at the time.

Group: Search


Properties

PropertyReturnsDescription
currentOpDescStringShort description of the server-side operation that triggered this query, for example the request URL or job that was running at the time.
jsonStringThe raw JSON body of the Elasticsearch query that was sent.
runAtDateWhen this query was run.
userNameStringName of the user who was logged in when this query was run, if known.

Methods

getJson()

Returns: String

The raw JSON body of the Elasticsearch query that was sent.

getRunAt()

Returns: Date

When this query was run.

getUserName()

Returns: String

Name of the user who was logged in when this query was run, if known.

getCurrentOpDesc()

Returns: String

Short description of the server-side operation that triggered this query, for example the request URL or job that was running at the time.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.