I am trying to configure ELK to take logs form two different applications. To my understanding, the Elasticsearch index is analogous to a to a database. So my question is:
Is it advisable to configure separate indices for different applications and Why? What are the pros and cons from it being used as/for a centralized logging system?
The ES has an inbuilt functionality with the default logstash-* index that it creates an index on a daily basis depending on the timestamp that it receives from the logs. Now how do I create an index for my app so that it is named different, say App1-*
that behaves exactly as the logstash-*
index i.e. is gets created on a daily basis from the timestamp?
I checked the ES documentation on index APIs but couldn't find sufficient information for this for a custom index. Any pointers in this?