# Sending custom documents from AWS Kinesis Firehose to Elastic Cloud

**URL:** https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619
**Category:** Elasticsearch
**Created:** [June 9, 2023, 10:52am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619 "2023-06-09T10:52:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Andy0708](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andy0708](https://discuss.elastic.co/u/Andy0708)
#### Post date: [June 9, 2023, 10:52am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/1 "2023-06-09T10:52:52Z")

</div>

Hi,

As part of a migration away from OpenSearch, we have been wanting to send data from AWS Kinesis Firehose to Elastic Cloud. This has historically required workarounds using either a transformation Lambda or a custom HTTP destination, which acts as a proxy between Firehose and Elastic Cloud. This is both inconvenient and complicates things.

We were super happy to see the new Elastic destination for Kinesis Firehose:

> **[Amazon Kinesis Data Firehose overview | Amazon Kinesis Data Firehose Ingest...](https://www.elastic.co/guide/en/kinesis/current/aws-firehose.html)**

However, as excited as we were, we were equally disappointed to see that this solution is limited to fixed datasets, i.e. log types. This seems like a super strange choice, as there are plenty of people needing to send custom data to Elastic Cloud. We have been asking for this for years, and so have many others.

We really need a convenient way of getting our custom documents from Kinesis Firehose into Elastic Cloud (into a custom index or data stream). We are surprised and a bit puzzled as to why this was not baked into this new solution from the beginning, as it is by no means an edge case.

So our questions are along the lines of:

- Why is the destination limited to a specific use case? This seems odd.
- Are there any plans of allowing custom data in the future?
- Are there any good workarounds other than the ones I described above?

This solution was so close to solving a lot of issues with connecting AWS and Elastic Cloud, but this design choice means that it doesn't quite solve it. We think it would make a lot of sense to broaden its scope, both for us and for others.

Thank you in advance.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 13, 2023, 1:26am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/3 "2023-06-13T01:26:47Z")

</div>

Thanks for providing this feedback, I have passed it on internally.

---

<div class="post-metadata">

### Author: ![Matthew\_Adams](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_adams/32/65554_2.png) [@Matthew\_Adams](https://discuss.elastic.co/u/Matthew_Adams)
#### Post date: [June 13, 2023, 10:30am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/4 "2023-06-13T10:30:35Z")

</div>

Hi, thanks for raising this. The docs are quite focussed on standard logging use cases as these will be the most common.  
It looks like you can just specify your own data stream name though  
**`es_datastream_name`**

> **[Amazon Kinesis Data Firehose setup guide | Amazon Kinesis Data Firehose...](https://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html)**

Have you tried that? If you can send the data to your own data stream you can also control mappings, ingest pipelines etc. I believe it is only giving examples of how to route it if you want to use the integrations.

---

<div class="post-metadata">

### Author: ![Andy0708](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andy0708](https://discuss.elastic.co/u/Andy0708)
#### Post date: [June 13, 2023, 11:23am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/5 "2023-06-13T11:23:23Z")

</div>

Thank you for the responses, @warkolm and @Matthew_Adams!

Honestly I had only read the documentation and just understood that the value for the `es_datastream_name` parameter had to be one of the listed ones. It didn't even cross my mind that it was possible to specify a custom data stream, perhaps because I was mislead by the docs being so focused on logging.

I will definitely have to test that, as it would entirely solve my problem. Thank you very much for the suggestion!

Until I do test it, if anyone knows if this is possible, I would appreciate a heads up 🙂

---

<div class="post-metadata">

### Author: ![Matthew\_Adams](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matthew_adams/32/65554_2.png) [@Matthew\_Adams](https://discuss.elastic.co/u/Matthew_Adams)
#### Post date: [June 13, 2023, 11:38am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/6 "2023-06-13T11:38:43Z")

</div>

Don't forget, you can also do a lot with ingest pipelines even changing the destination index by changing the \_index field.

---

<div class="post-metadata">

### Author: ![Andy0708](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Andy0708](https://discuss.elastic.co/u/Andy0708)
#### Post date: [June 13, 2023, 11:57am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/7 "2023-06-13T11:57:50Z")

</div>

Yeah, I saw the addition of that processor - good stuff! Thanks for the heads up. Ingest pipelines are awesome so I will definitely use one.

---

<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: [July 11, 2023, 11:58am UTC](https://discuss.elastic.co/t/sending-custom-documents-from-aws-kinesis-firehose-to-elastic-cloud/335619/8 "2023-07-11T11:58:41Z")

</div>

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