Hi,
I am writing a new microservice-based system and considering Elasticsearch for logging data storage.
What are the best practices of using ElastiSearch for logging? For now, I have 2 questions? but if anybody has ideas to share, please do not hesitate
- One index for all microservices or a dedicated index for each one?
- How will customers share logs if they are not willing to provide us with the Elasticsearch creds with read-only permissions due to security considerations? What option do I have? Exporting data from index(-ies) using
GET /my-index-000001/_search
.
Thanks.