# Need help how to parse such log from Kubernetes nginx pod

**URL:** <https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942>\
**Category:** Logstash\
**Created:** [May 24, 2017, 10:21am UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942 "2017-05-24T10:21:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Gerasimow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_gerasimow/32/18258_2.png) [@Igor\_Gerasimow](https://discuss.elastic.co/u/Igor_Gerasimow)\
**Post date:** [May 24, 2017, 10:21am UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942/1 "2017-05-24T10:21:42Z")

</div>

Hello - desperately asking for help with logs from nginx on kubernetes.

```auto
{"log":"10.128.0.21 - - [24/May/2017:10:12:32 +0000] \"GET /pp/apiv2/personprofile/check_summ/na/A%20Bird%20of%20Prey%20 HTTP/1.1\" 200 259 \"-\" \"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)\" \"-\"\n","stream":"stdout","time":"2017-05-24T10:12:32.641649296Z"}

```

Seems it should be the same as for `%{COMBINEDAPACHELOG}+%{GREEDYDATA:extra_fields}` - but it does not.  
Please HELP.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2017, 9:53am UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942/2 "2017-05-25T09:53:29Z")

</div>

Have you tried [http://grokdebug.herokuapp.com/](http://grokdebug.herokuapp.com/)?

---

<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:** [May 29, 2017, 5:22am UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942/3 "2017-05-29T05:22:32Z")

</div>

Are you using a json filter or json\_lines codec to deserialize the JSON into discrete fields (and applying the grok filter to the `log` field)?

---

<div class="post-metadata">

**Author:** ![Igor\_Gerasimow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_gerasimow/32/18258_2.png) [@Igor\_Gerasimow](https://discuss.elastic.co/u/Igor_Gerasimow)\
**Post date:** [May 29, 2017, 3:56pm UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942/4 "2017-05-29T15:56:20Z")

</div>

No - i'm not.

---

<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:** [June 26, 2017, 3:56pm UTC](https://discuss.elastic.co/t/need-help-how-to-parse-such-log-from-kubernetes-nginx-pod/86942/5 "2017-06-26T15:56:28Z")

</div>

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