Configuring log and metric collection for the Elasticsearch App includes the following tasks:
- Step 1: Configure Fields in Sumo Logic.
- Step 2: Configure Collection for Elasticsearch
Step 1: Configure Fields in Sumo Logic
Create the following Fields in Sumo Logic before configuring the collection. This ensures that your logs and metrics are tagged with relevant metadata required by the app dashboards. For information on setting up fields, see the Fields help page.
If you are using Elasticsearch in a non-Kubernetes environment create the fields:
If you are using Elasticsearch in a Kubernetes environment create the fields: