We added the configuraton requested and this is the output provided from rubydebug:
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: {
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "remoteservername" => "fe01",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "request" => "/testa",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "agent" => "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "geoip" => {
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "timezone" => "Europe/London",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "ip" => "10.10.10.10",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "latitude" => 51.4333,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "coordinates" => [
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: [0] -0.2167,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: [1] 51.4333
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: ],
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "continent_code" => "EU",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "city_name" => "Wimbledon",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "country_name" => "United Kingdom",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "country_code2" => "GB",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "country_code3" => "GB",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "region_name" => "Merton",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "location" => {
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "lon" => -0.2167,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "lat" => 51.4333
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: },
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "postal_code" => "SW19",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "region_code" => "MRT",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "longitude" => -0.2167
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: },
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "cookie" => {
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "PORTALSESSIONID" => "",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "teststat" => ""
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: },
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "auth" => "-",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "ident" => "49724",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "timespent" => 315685,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "verb" => "GET",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "message" => "10.10.10.10 49724 - [29/Aug/2017:17:22:14 +0200] \"GET /testa HTTP/1.1\" 200 29880 315685 \"https://test.com/testprod\" \"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36\" \"stat=sadadasdsa1212121as \"",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "type" => "test-apache-access",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "path" => "/tmp/w-pr06.ssl_access_log",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "referrer" => "https://test.com/testa",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "@timestamp" => 2017-08-29T15:22:14.000Z,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "response" => "200",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "bytes" => 29880,
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "clientip" => "195.110.70.55",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "@version" => "1",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "host" => "kibana-aol.test.it",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "httpversion" => "1.1",
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: "timestamp" => "29/Aug/2017:17:22:14 +0200"
Aug 29 17:23:05 dev-elk01.test.it logstash[9978]: }
We also configured the pipeline to add a new field with the date target and the result is:
"timestamp_new": "2017-08-29T15:24:29.000Z",
"timestamp": "29/Aug/2017:17:24:29 +0200"
"@timestamp": "2017-08-29T15:33:24.951Z",