# How to stream audio from S3 to Kibana

**URL:** <https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370>\
**Category:** Kibana\
**Created:** [March 12, 2020, 3:37pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370 "2020-03-12T15:37:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![li-yun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@li-yun](https://discuss.elastic.co/u/li-yun)\
**Post date:** [March 12, 2020, 3:37pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/1 "2020-03-12T15:37:57Z")

</div>

Hello Folks,

I am a beginner to Elasticsearch and Kibana. My goal is to stream audio files from an S3 bucket to Kibana. Currently, I can only stream audios from a public website to Kibana but not from the S3 bucket to Kibana. Does anyone know how to do that?

Thanks,  
Li-Yun

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 12, 2020, 5:18pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/2 "2020-03-12T17:18:29Z")

</div>

Is there any error that shows up in the console logs or somewhere when you try to do it from S3?

---

<div class="post-metadata">

**Author:** ![li-yun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@li-yun](https://discuss.elastic.co/u/li-yun)\
**Post date:** [March 12, 2020, 6:35pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/3 "2020-03-12T18:35:23Z")

</div>

@Marius_Dragomir. No, I did not see any error. I could see a play icon on Kibana, but nothing happened when I clicked the icon. In order to stream an audio file in S3, should I add S3 credentials to Elasticsearch or Kibana? Thanks.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 13, 2020, 12:23am UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/4 "2020-03-13T00:23:34Z")

</div>

The way I see it would be to add a proxy between Kibana and S3 and add the auth params (either the query ones or the HTTP header ones).  
Kibana's requests are fairly basic when made to an outside place (anything other than Elasticsearch).

---

<div class="post-metadata">

**Author:** ![li-yun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@li-yun](https://discuss.elastic.co/u/li-yun)\
**Post date:** [March 13, 2020, 12:29am UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/5 "2020-03-13T00:29:10Z")

</div>

Thanks for your replaying. Could you please mention the approach more details? Thanks.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 13, 2020, 12:32am UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/6 "2020-03-13T00:32:21Z")

</div>

It doesn't really have anything to do with Kibana.  
Just make all outgoing connections from your machine go through your proxy (of choice), and when you match a rule of requests made to your S3 bucket for the audio file, add the necessary information from the proxy to the request: [https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html#auth-methods-intro](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html#auth-methods-intro)  
I assume both Authentication methods work.

---

<div class="post-metadata">

**Author:** ![li-yun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@li-yun](https://discuss.elastic.co/u/li-yun)\
**Post date:** [March 13, 2020, 12:35am UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/7 "2020-03-13T00:35:54Z")

</div>

Thank you for your reply. I will check the link.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [March 13, 2020, 12:38am UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/8 "2020-03-13T00:38:00Z")

</div>

This also looks like a good tool for pretty much this purpose: [https://github.com/pottava/aws-s3-proxy](https://github.com/pottava/aws-s3-proxy).  
[https://github.com/pottava/aws-s3-proxy](https://github.com/pottava/aws-s3-proxy)

---

<div class="post-metadata">

**Author:** ![li-yun](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@li-yun](https://discuss.elastic.co/u/li-yun)\
**Post date:** [March 13, 2020, 10:08pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/9 "2020-03-13T22:08:18Z")

</div>

@Marius_Dragomir I looked at the readme file for [https://github.com/pottava/aws-s3-proxy](https://github.com/pottava/aws-s3-proxy), but I did not get any idea to use. Have you used it before? Thanks.

---

<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 10, 2020, 10:15pm UTC](https://discuss.elastic.co/t/how-to-stream-audio-from-s3-to-kibana/223370/10 "2020-04-10T22:15:36Z")

</div>

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