【发布时间】:2021-02-01 20:45:29
【问题描述】:
我想将 Windows 事件发送到 AWS 弹性搜索。 elasticsearch 具有连接所需的 api 密钥和安全密钥。我在 winlog beat 配置中找不到。请在下面找到我的 yml 代码。
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
# Array of hosts to connect to.
#hosts: ["localhost:9200"]
hosts: ["https://vpc-manufacturing-elasticsearch-celm5zj5gcf45hpghulnxshco4.ap-southeast-2.es.amazonaws.com"]
# Protocol - either `http` (default) or `https`.
#protocol: "https"
# Authentication credentials - either API key or username/password.
#api_key: "id:api_key"
#username: "elastic"
#password: "changeme"
region:"where to specify"
aws_access_key_id:"where to specify"
aws_secret_access_key:"where to specify"
#User: es-mfg
【问题讨论】:
标签: amazon-web-services elasticsearch elastic-stack elasticsearch-5 elk