# Can't parse httpd combined logs when ident is set

**URL:** <https://discuss.elastic.co/t/cant-parse-httpd-combined-logs-when-ident-is-set/105732>\
**Category:** Logstash\
**Created:** [October 30, 2017, 9:30am UTC](https://discuss.elastic.co/t/cant-parse-httpd-combined-logs-when-ident-is-set/105732 "2017-10-30T09:30:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdumetz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sdumetz/32/23550_2.png) [@sdumetz](https://discuss.elastic.co/u/sdumetz)\
**Post date:** [October 30, 2017, 9:30am UTC](https://discuss.elastic.co/t/cant-parse-httpd-combined-logs-when-ident-is-set/105732/1 "2017-10-30T09:30:36Z")

</div>

I have those logs (OVH shared hosting), that set the ident field of log lines to: `example.com:443`. It's only on a fraction of the logs, most of them set to `example.com` or `www.example.com` as they should (I think?).

A full example line :

`83.149.9.216 example.com:443 - [24/Feb/2015:23:13:42 +0000] "GET /presentations/logstash-monitorama-2013/images/kibana-search.png HTTP/1.1" 200 203023 "http://semicomplete.com/presentations/logstash-monitorama-2013/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"`

tested to fail on latest logstash-patterns-core

It looks like it should be accepted as I far as I understand it from the ident field definition in [RFC1413](https://www.ietf.org/rfc/rfc1413.txt), but I wanted to have confirmation before filling a bug report. It's the first time I saw this ident field set like this and it might well be just the hosting provider doing something non-standard at all?

Should this log line be accepted as a "COMBINED" log?

---

<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:** [November 27, 2017, 9:31am UTC](https://discuss.elastic.co/t/cant-parse-httpd-combined-logs-when-ident-is-set/105732/2 "2017-11-27T09:31:03Z")

</div>

Closed on November 27, 2017, 9:31am UTC

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