Forwarding log data to an Elasticsearch cluster
Elasticsearch is an open-source search engine that runs on an external Elasticsearch server cluster. You can forward log data from Log Servers and Management Servers to an Elasticsearch cluster to improve the performance of browsing and searching for log entries, report generation, and other log-related features.
For more information about requirements for using Elasticsearch with the SMC, see Knowledge Base article 17583.
You can browse log entries that have been forwarded to an Elasticsearch cluster using the Management Client in the same way as for other log entries. The Log Server automatically maps log fields to the corresponding Elasticsearch fields.
Elasticsearch indexes the following kinds of log fields:
- Log fields that can be used for filtering and browsing log entries.
- Log fields that can be used for reporting.
Elasticsearch indexes log data only when a log data file on the Log Server is complete. Typically, log data files are completed about once every hour. If a large number of log entries are received, the Log Server might create multiple log files each hour.
The configuration consists of these general steps:
- Configure Elasticsearch in your environment.
- Deploy and configure an external Elasticsearch cluster.
- (Recommended) Configure TLS and client authentication in Elasticsearch.
- In the Management Client, create an Elasticsearch Cluster element.
- (Optional) Override the settings for client authentication that are defined in the Elasticsearch Cluster element in the properties of the Log Server or the Management Server.