Skip to main content
Direct intervention to data in production environments is never recommended. Before any operation or change to be made in production environments, the relevant steps must be tested in the test environment and a current backup of the system must be taken.

Viewing and Deleting Indices

Viewing Document Count

Viewing Indices with Where Condition

Query Finding Records Where CID in Request and CID in Response Are Not the Same Using Script

List of Requests Coming Per Second in a Specific Time Range

Finding Specific Documents by Correlation ID

Deleting by Index Name

Deleting Indices Containing a Given Word

Changing Elasticsearch Stack’s Read_Only Status

For all indices:
For a single index only:

Moving to New Index with Rollover

Querying Documents in a Specific Index

Querying Documents in Index by Specific Criteria

Querying Documents by Specific Time Range

Aggregating Document Results by Specific Criteria

Finding the Number of Requests Each Authorized User Sent to Each API Proxy in the Last 1 Day

Update

Updating Document

Deleting a Specific Element from Specified Fields

Deleting Specific Values by Criteria

  • Execution Reject error will be prevented by the value of the requests_per_second key.
  • Bulk Operation Size is 1000 by default. The wait time between two requests is set by giving 5 (=1000/200).

Deleting Response Body Fields from Logs Belonging to a Specific REST Endpoint

This endpoint must be defined within an API proxy of openapi or no-spec type. If the same endpoint exists in multiple services, the API proxy name should also be added to the query.

Deleting Some Body Fields from Logs Up to a Specific Date

If you want to update by API Proxy id value instead of date, you can add the filter "match": { "api": "64ac03067e8f7400cf4adbdd" } instead of the part "range": { "@timestamp": { "lte": "2024-04-20T00:00:00.000Z" } }.
To examine the Elasticsearch data structure and determine the fields to be deleted, you can check the API Traffic Log Record Data Structure page.

Setting Replica Count

With template:
For all indices:

Shard Allocation

Increasing Shard Limit

Changing Log Level

ShowLog Settings

Elasticsearch Shard and Replication Management

Other