# HELP! decoding

**URL:** <https://discuss.elastic.co/t/help-decoding/140469>\
**Category:** Logstash\
**Created:** [July 18, 2018, 7:35am UTC](https://discuss.elastic.co/t/help-decoding/140469 "2018-07-18T07:35:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sunbro](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Sunbro](https://discuss.elastic.co/u/Sunbro)\
**Post date:** [July 18, 2018, 7:35am UTC](https://discuss.elastic.co/t/help-decoding/140469/1 "2018-07-18T07:35:36Z")

</div>

I’m using ELK for centralized logging  
There is one field in my logs that needs to be decoded from base64 and then converted to ucs-2be  
How can I do that?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 18, 2018, 6:51pm UTC](https://discuss.elastic.co/t/help-decoding/140469/2 "2018-07-18T18:51:01Z")

</div>

If you want Logstash to output a string in UCS-2BE that's typically done via the codec in the output plugin, but whether this actually makes sense depends on the output plugin(s) you use.

---

<div class="post-metadata">

**Author:** ![Sunbro](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Sunbro](https://discuss.elastic.co/u/Sunbro)\
**Post date:** [July 19, 2018, 8:25am UTC](https://discuss.elastic.co/t/help-decoding/140469/4 "2018-07-19T08:25:52Z")

</div>

I need to output only one field from strings of my logfile in UCS-2be, not all of them

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 19, 2018, 12:25pm UTC](https://discuss.elastic.co/t/help-decoding/140469/5 "2018-07-19T12:25:48Z")

</div>

If you want help please be very explicit in what you want. Which output plugin(s) are you using? Exactly what do you expect it to do?

---

<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:** [August 16, 2018, 12:25pm UTC](https://discuss.elastic.co/t/help-decoding/140469/6 "2018-08-16T12:25:52Z")

</div>

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