time - kibana not trending over parsed timestamp -
i trying trend below data on archived timestamp. not sure why dates , times aren't parsed. according grok debugger works fine.
http://i.stack.imgur.com/gdfay.png
sample input:
[15/06/02@11:05:31.233-0700] p-007158 t-4131301152 2 ws 4gltrace run htmassociate "vsess vsess 1349" [htmoffsets - dpa/setup/vsysadv.w @ 9563]
config file
input { file { path => "/users/philipp/documents/performance/productionmetrics/4gltrace_logs/4gltrace_log_bstash.txt" start_position => beginning } } filter { grok { match => ["message", "\[%{date}@%{time}-%{int:timezone}] %{notspace:pid} % {notspace:t} %{int:num} %{word:ws} %{word:4gltrace} %{greedydata} \[%{data:program}]"] } } output { elasticsearch { host => localhost protocol => "http" port => "9200" } stdout { codec => rubydebug } }
i sure silly oversight not sure is. appreciated.
you need use date{} filter in logstash take field event , replace @timestamp value.
if had field called my_timestamp
following format, it:
date { match => [ 'my_timestamp', "dd/mmm/yyyy:hh:mm:ss z" ] remove_field => [ 'my_timestamp' ] }
Comments
Post a Comment