# Input CEF Codec output Rubydebug (Multiple use of codec)

**URL:** https://discuss.elastic.co/t/input-cef-codec-output-rubydebug-multiple-use-of-codec/374213
**Category:** Logstash
**Created:** [February 7, 2025, 9:27am UTC](https://discuss.elastic.co/t/input-cef-codec-output-rubydebug-multiple-use-of-codec/374213 "2025-02-07T09:27:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![moomoo21](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moomoo21/32/131084_2.png) [@moomoo21](https://discuss.elastic.co/u/moomoo21)
#### Post date: [February 7, 2025, 9:27am UTC](https://discuss.elastic.co/t/input-cef-codec-output-rubydebug-multiple-use-of-codec/374213/1 "2025-02-07T09:27:43Z")

</div>

Hello,

I have a logstash config that goes something like:

```auto
input{
  pipeline {
    address => "output1"
    codec => cef{
      ecs_compatibility => disabled
    }
  }
}

output {
  stdout {codec => rubydebug}
  
}

```

The input in this config is from a json output from another config file which has the CEF string in the "message" key.

However the CEF codec for this config is not working...
