# Elastic Agent Cloudflare Integration using S3 Compatible Bucket

**URL:** <https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561>\
**Category:** Elastic Security\
**Created:** [August 7, 2024, 10:31pm UTC](https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561 "2024-08-07T22:31:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcruz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jcruz/32/91772_2.png) [@jcruz](https://discuss.elastic.co/u/jcruz)\
**Post date:** [August 7, 2024, 10:31pm UTC](https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561/1 "2024-08-07T22:31:15Z")

</div>

Hello, I'm trying to use Elastic Agent to collect log data using Cloudflare Integration, collecting those logs from a S3 compatible Bucket (Oracle Cloud), however it's only availble options to collect from AWS S3 or Google Cloud Storage. Is there any way to use this integration using a S3 compatible object storage?

I have tried to configure setting up some advanced options such as URL endpoint and Default Region (to values from the OCI) but it did not work (and also do not showed any error).

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 8, 2024, 12:51am UTC](https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561/2 "2024-08-08T00:51:27Z")

</div>

> [@jcruz](#):
>
> Is there any way to use this integration using a S3 compatible object storage?

This seems possible, you would need to set your bucket name on the _[Global][S3] Cloudflare R2 Bucket Name_ option.

The name is misleading, but from this [PR](https://github.com/elastic/integrations/pull/8278) it seems that this will expose the `non_aws_bucket_name` setting, which is used by the `aws-s3` beats input to get data from s3 compatible services.

You will also need to configure the endpoint.

Not sure if this will work because I do not use this integration, but from the documentation it seems possible.

Can you test it?

I will try to open an issue to get more clarification about the settings and compatibility.

EDIT: Opened this [[Cloudflare Logpush] Expose the non\_aws\_bucket\_name in a more generic way to avoid confusion. · Issue #10733 · elastic/integrations · GitHub](https://github.com/elastic/integrations/issues/10733).

---

<div class="post-metadata">

**Author:** ![jcruz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jcruz/32/91772_2.png) [@jcruz](https://discuss.elastic.co/u/jcruz)\
**Post date:** [August 19, 2024, 2:25pm UTC](https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561/3 "2024-08-19T14:25:22Z")

</div>

Thank you Leandro!

I'm using an older version of Elatic Agent and that option it not available.

I will evaluate the possibility to upgrade to get this update.

Thank you for your help!

---

<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:** [September 16, 2024, 2:26pm UTC](https://discuss.elastic.co/t/elastic-agent-cloudflare-integration-using-s3-compatible-bucket/364561/4 "2024-09-16T14:26:11Z")

</div>

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