# Configuring Filebeat to use an AWS PrivateLink endpoint to index into CloudWatch

**URL:** <https://discuss.elastic.co/t/configuring-filebeat-to-use-an-aws-privatelink-endpoint-to-index-into-cloudwatch/300056>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [March 18, 2022, 2:47pm UTC](https://discuss.elastic.co/t/configuring-filebeat-to-use-an-aws-privatelink-endpoint-to-index-into-cloudwatch/300056 "2022-03-18T14:47:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndtreviv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ndtreviv/32/22494_2.png) [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Post date:** [March 18, 2022, 2:47pm UTC](https://discuss.elastic.co/t/configuring-filebeat-to-use-an-aws-privatelink-endpoint-to-index-into-cloudwatch/300056/1 "2022-03-18T14:47:37Z")

</div>

Continuing the discussion from [AWS PrivateLinkの使用方法](https://discuss.elastic.co/t/aws-privatelink/242146):

I also want to do this. I can't find any documentation to configure an endpoint override.  
I also need to do the same thing with the S3 snapshots repository.

Is it even possible right now?

---

<div class="post-metadata">

**Author:** ![ndtreviv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ndtreviv/32/22494_2.png) [@ndtreviv](https://discuss.elastic.co/u/ndtreviv)\
**Post date:** [March 18, 2022, 3:37pm UTC](https://discuss.elastic.co/t/configuring-filebeat-to-use-an-aws-privatelink-endpoint-to-index-into-cloudwatch/300056/2 "2022-03-18T15:37:40Z")

</div>

According to the docs on s3-repository I need to set the endpoint and region properties in the keystore, for example:

```auto
bin/elasticsearch-keystore add s3.client.default.endpoint
bin/elasticsearch-keystore add s3.client.default.region

```

It's still unclear how to do this for filebeat CloudWatch integration.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 15, 2022, 3:37pm UTC](https://discuss.elastic.co/t/configuring-filebeat-to-use-an-aws-privatelink-endpoint-to-index-into-cloudwatch/300056/3 "2022-04-15T15:37:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
