# Wowza Streaming Engine with Cloudfront: monitoring is correct but still get access log from Cloudfront

**URL:** <https://community.wowza.com/t/wowza-streaming-engine-with-cloudfront-monitoring-is-correct-but-still-get-access-log-from-cloudfront/49255>\
**Category:** Wowza Streaming Engine\
**Created:** [July 24, 2017, 6:39am UTC](https://community.wowza.com/t/wowza-streaming-engine-with-cloudfront-monitoring-is-correct-but-still-get-access-log-from-cloudfront/49255 "2017-07-24T06:39:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_Pham](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Sarah\_Pham](https://community.wowza.com/u/Sarah_Pham)\
**Post date:** [July 24, 2017, 6:39am UTC](https://community.wowza.com/t/wowza-streaming-engine-with-cloudfront-monitoring-is-correct-but-still-get-access-log-from-cloudfront/49255/1 "2017-07-24T06:39:55Z")

</div>

Dear All,

I am newbie on WSE and I don’t understand how Wowza Streaming Engine works with its log.

I only use VOD for streaming via Cloudfront to prevent high load for my Wowza Streaming Engine Server.

I followed this guide [https://www.wowza.com/docs/how-to-configure-a-wowza-server-as-an-http-caching-origin](https://www.wowza.com/docs/how-to-configure-a-wowza-server-as-an-http-caching-origin) and everything works fine. I use cloudfront URL like [http://wowza.abc.com/vodhttporigin/video.m4v/m4v/playlist.m3u8](http://wowza.abc.com/vodhttporigin/video.m4v/m4v/playlist.m3u8).

And when I test this URL, in vodhttporigin Monitoring there is no connection when I play it from my PC.

But I found a weird thing in server log. Everytime I connect from my PC (after deleting cache from Chrome). I see access log from Cloudfront.

**x-ctx** : video.m4v, **x-vhost** : _defaultVHost_, **x-app** : vodhttporigin\*\*,x-appinst\*\*: _definst_, **x-duration** : 0.47, **s-ip** : [wowza.abc.com](http://wowza.abc.com), **s-port** : 80,s-uri: [http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8](http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8), **c-ip** : 52.78.247.137, **c-proto** : http (cupertino),c-user-agent: Amazon CloudFront, **c-client-id** : 415447746, **cs-bytes** : 0, **sc-bytes** : 1289, **x-stream-id** : 1, **x-spos** : 0, **cs-stream-bytes** : 0, **sc-stream-bytes** : 0, **x-sname** : video.m4v, **x-file-name** : video.m4v, **x-file-ext** : m4v, **x-file-size** : 1353275, **x-file-length** : 21.184, **x-suri** : [http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8](http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8), **x-suri-stem** : [http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8](http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8), **cs-uri-stem** : [http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8](http://wowza.abc.com:80/vodhttporigin/video.m4v/playlist.m3u8)

I wonder if I have set it up wrong? So this mean Cloudfront still connect to my server to get data?

Could you please explain me?

Thank you.

---

<div class="post-metadata">

**Author:** ![Sarah\_Pham](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Sarah\_Pham](https://community.wowza.com/u/Sarah_Pham)\
**Post date:** [July 24, 2017, 9:33am UTC](https://community.wowza.com/t/wowza-streaming-engine-with-cloudfront-monitoring-is-correct-but-still-get-access-log-from-cloudfront/49255/2 "2017-07-24T09:33:15Z")

</div>

Hi

After checking Cloudfront Log, I see that only media\_xxxx\_0.ts files are cached on Cloudfront.

Other files such as playlist.m3u8 or chunklist.m3u8 are missed.

Could you please tell me how to configure Wowza so that Cloudfront can cache all files?

Thank you.

---

<div class="post-metadata">

**Author:** ![Sarah\_Pham](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Sarah\_Pham](https://community.wowza.com/u/Sarah_Pham)\
**Post date:** [July 26, 2017, 3:01am UTC](https://community.wowza.com/t/wowza-streaming-engine-with-cloudfront-monitoring-is-correct-but-still-get-access-log-from-cloudfront/49255/3 "2017-07-26T03:01:23Z")

</div>

I have modified cupertinoCacheControlPlaylist and now there is no connection go to my WSE server directly.

Thank you.
