API Stability Long-Term

The redactEvents() GraphQL query is used to fetch the list of active event redaction jobs.

For more information on creating views to redact data, see the Creating a Repository or View documentation page. You may also want to look at General Settings for related information.

Syntax

Below is the syntax for the redactEvents() query field:

graphql
redactEvents(
     repositoryName: string!
   ): [DeleteEvents!]!

For the DeleteEvents datatype, see the Returned Datatypes section. Below is an example using this query field:

Show:
graphql
query {
  redactEvents(repositoryName:"humio")
  {id, created, start, end, query}
}

Returned Datatypes

The returned datatype DeleteEvents has a few parameters. Below is a list of them along with a description of each:

Table: DeleteEvents

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Mar 25, 2025
createddatetimeyes Long-TermThe date and time, in the ISO-8601 instant format (e.g., 2022-12-03T10:15:30.00Z), the set was created.
createdByUserstring  Long-TermThe user that created the deletion.
enddatetimeyes Long-TermThe ending date and time, in the ISO-8601 instant format (e.g., 2022-12-03T10:15:30.00Z), from which to select events to delete.
idstringyes Long-TermThe unique identifier for the set of events to delete.
querystringyes Long-TermThe query for selected events.
languageVersionLanguageVersionyes Long-TermThe language version used by LogScale. See LanguageVersion.
startdatetimeyes Long-TermThe starting date and time, in the ISO-8601 instant format (e.g., 2022-12-03T10:15:30.00Z), from which to select events to delete.