# Logs including emojis

**URL:** <https://discuss.elastic.co/t/logs-including-emojis/258946>\
**Category:** Logstash\
**Created:** [December 17, 2020, 6:49am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946 "2020-12-17T06:49:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rojin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rojin/32/97697_2.png) [@rojin](https://discuss.elastic.co/u/rojin)\
**Post date:** [December 17, 2020, 6:49am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/1 "2020-12-17T06:49:24Z")

</div>

Hello everyone! is there a way to parse this log with emojis? Could it be shown in kibana or logstash output? I do not have a clue how to parse the emojis in logstash pipeline.

```
"emoji_code":"🌸"

```

Can someone please help me? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 17, 2020, 1:55pm UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/2 "2020-12-17T13:55:19Z")

</div>

> [@rojin](#):
>
> is there a way to parse this log with emojis?

What do you want to parse it into?

---

<div class="post-metadata">

**Author:** ![rojin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rojin/32/97697_2.png) [@rojin](https://discuss.elastic.co/u/rojin)\
**Post date:** [December 19, 2020, 5:39am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/3 "2020-12-19T05:39:37Z")

</div>

Hi! I want to create index for my log and show all my log fields (created by grok patterns) in kibana and one of my fields is emoji\_code, but I do not know if I can show the emoji as emoji\_code value in kibana or how to do it.

---

<div class="post-metadata">

**Author:** ![Lukasz\_Geras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukasz_geras/32/81151_2.png) [@Lukasz\_Geras](https://discuss.elastic.co/u/Lukasz_Geras)\
**Post date:** [December 20, 2020, 8:29am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/4 "2020-12-20T08:29:22Z")

</div>

Emojis are just strings encoded like this: :emoji\_text:  
parse it this way, but i'm not sure if kibana will show this in results. They are part of unicode standard after all, so there's a Chance.

---

<div class="post-metadata">

**Author:** ![rojin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rojin/32/97697_2.png) [@rojin](https://discuss.elastic.co/u/rojin)\
**Post date:** [December 20, 2020, 9:09am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/5 "2020-12-20T09:09:16Z")

</div>

Thank you. I will try it in Kibana (though I got the result in ruby stdout as an emoji between quotations)

---

<div class="post-metadata">

**Author:** ![Lukasz\_Geras](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukasz_geras/32/81151_2.png) [@Lukasz\_Geras](https://discuss.elastic.co/u/Lukasz_Geras)\
**Post date:** [December 20, 2020, 9:22am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/6 "2020-12-20T09:22:53Z")

</div>

If you don’t want emojis, just escape the :’s using replace. In my view emoji’s are not processed by sofware itself, it’s a matter of browser.

---

<div class="post-metadata">

**Author:** ![rojin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rojin/32/97697_2.png) [@rojin](https://discuss.elastic.co/u/rojin)\
**Post date:** [December 20, 2020, 9:29am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/7 "2020-12-20T09:29:07Z")

</div>

I'll give it a try in different browsers using your solution. 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:** [January 17, 2021, 9:29am UTC](https://discuss.elastic.co/t/logs-including-emojis/258946/8 "2021-01-17T09:29:18Z")

</div>

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