Hi there, I'm new to all of this.
I'm using Logstash with Elastic Search and finding the @timestamp transformation frustrating for my non-standard log format. Any help you can provide me would be appreciated.
Here is a log sample:
No.,Record,Date,Time,Source,Site,+/-,Event,Mode,User,Details 2595,2543,01Jul19,00:00:00,TLA,607,,,,,message long text 2655,2603,01Jul19,00:00:00,BLE,3392,,,,,another long open text structure
Here is the filter I am using:
filter {
grok {
match => {"message" => "%{NUMBER:line},%{NUMBER:record},%{MONTHDAY:day}%{NOTSPACE:month}%{YEAR:year},%{TIME:timeofday},%{WORD:region},%{NUMBER:site},.*,%{GREEDYDATA:message}"}
}
date {
match => ["replace_timestamp", "ddMMMyy,kk:mm:ss"]
target => "@timestamp"
}
}
I am having a lot of trouble getting the timestamp to work... can anyone see the problem i'm having?
Thanks for your patience.