# Is cloudfront codec ever works before?

**URL:** <https://discuss.elastic.co/t/is-cloudfront-codec-ever-works-before/325879>\
**Category:** Logstash\
**Created:** [February 18, 2023, 5:07am UTC](https://discuss.elastic.co/t/is-cloudfront-codec-ever-works-before/325879 "2023-02-18T05:07:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stwang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stwang/32/115044_2.png) [@stwang](https://discuss.elastic.co/u/stwang)\
**Post date:** [February 18, 2023, 5:07am UTC](https://discuss.elastic.co/t/is-cloudfront-codec-ever-works-before/325879/1 "2023-02-18T05:07:39Z")

</div>

Hi There,

I am try to parse cloudfront log in logstash, and I found there has a cloudfront codec can be used. but I never make it works.  
Can someone pointing me a vaild config, or this codec never works before?

Cheers,

---

<div class="post-metadata">

**Author:** ![stwang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stwang/32/115044_2.png) [@stwang](https://discuss.elastic.co/u/stwang)\
**Post date:** [February 18, 2023, 5:15am UTC](https://discuss.elastic.co/t/is-cloudfront-codec-ever-works-before/325879/2 "2023-02-18T05:15:56Z")

</div>

the error which i got was:  
is not a legal argument to this wrapper, cause it doesn't respond to "read".

---

<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:** [March 18, 2023, 5:16am UTC](https://discuss.elastic.co/t/is-cloudfront-codec-ever-works-before/325879/3 "2023-03-18T05:16:38Z")

</div>

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