Can the ElasticSearch index sizes be controlled to limit the amount of space consumed?

book

Article ID: 194276

calendar_today

Updated On:

Products

CA App Experience Analytics

Issue/Introduction

Can the ElasticSearch index sizes be controlled to limit the amount of space consumed?

Cause

ElasticSearch indices can grow rapidly and may cause issues with disk space. You can check the space being used using:

http://<AXA ES Host>:9200/_cat/indices

Environment

Application Experience Analytics 17.3.2

Resolution

Yes, You can limit the size for each index in the size in the /opt/ca/aoPlatform/jarvis/config/limits.properties file

Specify the indices using this pattern:

"product_doctypeId_version=size" (size in GB) in limits.properties file and restart esutils.

E.g.: To set the 5GB limit for the index ao_axa_sessions_1. Add the below entry in limits.properties file and restart ESutils
ao_axa_sessions_1=5