- [https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html]
- [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html]
- [https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html]
- Streams Kafka-native events into Elasticsearch.
- Supports secure authentication.
- Indexes JSON documents into configurable Elasticsearch indexes.
- Supports Elasticsearch 7.x and 8.x deployments.
- Provides high-throughput indexing for real-time workloads.
- Condense publishes events into a Kafka-native topic.
- The connector subscribes to the configured input topic.
- Each message is converted into a JSON document.
- The document is indexed into the configured Elasticsearch index.
- Connector status, retries, and errors are visible within Condense.
Field-by-Field Explanation
1. Title
Unique identifier for the connector inside Condense.
Example:
es-security-logs-output
2. Elasticsearch User
Username used to authenticate with the Elasticsearch cluster.
The user should have permission to create and write documents to the target index.
3. Elasticsearch Password
Password associated with the configured Elasticsearch user.
Store credentials securely using encrypted secrets or environment variables.
4. Elasticsearch Address
Hostname or endpoint of the Elasticsearch cluster.
Examples:
https://es-node1.company.com:9200http://localhost:9200
elasticsearch
6. Elasticsearch Index Name
Destination index where documents are stored.
Examples:
- iot-events
- transaction-logs
- user-interactions
_id and _index are not overwritten.
4. Connection Timeout
Symptoms: Requests to Elasticsearch time out.
Solution: Verify network connectivity, firewall rules, and DNS resolution.
5. Cluster Health Issues
Symptoms: Writes are delayed or rejected.
Solution: Check cluster health, shard allocation, and available disk space using Elasticsearch APIs or Kibana.
Advanced Considerations
1. Index Sharding
Configure shards and replica counts based on indexing throughput and query requirements.
2. Document IDs
If a document ID is not supplied, Elasticsearch automatically generates one.
Custom document IDs can be used for idempotent indexing.
3. Bulk Indexing
Bulk indexing improves throughput and reduces indexing overhead.
4. Compatibility
Supports Elasticsearch 7.x, Elasticsearch 8.x, Elastic Cloud, self-managed deployments, and OpenSearch-compatible clusters.
Best Practices
- Define index mappings before ingesting production data.
- Use ingest pipelines for enrichment or post-processing.
- Configure Index Lifecycle Management (ILM) for time-based indexes.
- Monitor indexing throughput and latency using Elasticsearch monitoring tools.
- Use HTTPS and secure authentication for production environments.