Elasticsearch
Writes the events straight into your Elasticsearch through its _bulk API, in the Elastic
Common Schema (ECS): source.ip, event.action, host.name… You see them in Kibana
without setting up Logstash or Filebeat. The whole event also goes under sugardaddy.*,
and its MITRE ATT&CK technique under threat.*.
- Elasticsearch address (parameter, required): your cluster's address, with
https(usually port 9200). - Index or data stream (optional): where the events are written. By default,
sugardaddy-eventos. It can be a data stream created from your template. - Your Elasticsearch CA (optional): only if the cluster's certificate comes from a private CA or is self-signed; that CA in PEM format.
- API key (secret, required): the "encoded" value of an Elastic API key with write permission on the index. Create it in Kibana, under Stack Management → API keys.
- Body format: the ECS fields are the same in both. ECS with event contract v1
(proposed for new outputs) puts the event contract v1
message under
sugardaddy.*(sugardaddy.schema_version,sugardaddy.classification,sugardaddy.confidence…). ECS with the legacy format is what outputs created before the contract keep.
If Elasticsearch rejects some documents because of the index or its mapping, they are not retried; the console says why.