Hi @magnusbaeck
Please find the below response of the logstash output,
Failed parsing date from field {:field=>"Date", :value=>"%{monthday}-%{month}-%{year}", :exception=>"Invalid format: "%{monthday}-%{month}-%{year}"", :config_parsers=>"dd-MMM-yyyy", :config_locale=>"en", :level=>:warn}
Logstash startup completed
{
"message" => "Date StartTime EndTime ElapseTime External_Itemcode User_id Event_name",
"@version" => "1",
"@timestamp" => "2016-05-31T09:04:25.956Z",
"host" => "dayrhebfmd001.enterprisenet.org",
"path" => "/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log",
"type" => "apache",
"tags" => [
[0] "_grokparsefailure",
[1] "_dateparsefailure"
],
"Date" => "%{monthday}-%{month}-%{year}"
}
{
"message" => "26-May-2016\t05:11:25 05:12:50 00:01:25 0124524554 3024 Loading loadItemstoWorkspace Details",
"@version" => "1",
"@timestamp" => "2016-05-31T09:04:25.958Z",
"host" => "dayrhebfmd001.enterprisenet.org",
"path" => "/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log",
"type" => "apache",
"StartTime" => "05:11:25",
"EndTime" => "05:12:50",
"ElapseTime" => "00:01:25",
"External_Itemcode" => "0124524554",
"User_id" => "3024",
"Event_name" => " Loading loadItemstoWorkspace Details",
"Date" => "2016-05-26T04:00:00.000Z"
}
{
"message" => "26-May-2016\t05:14:34 05:15:28 00:00:54 0124524554 3024 Loading loadItemstoWorkspace Details",
"@version" => "1",
"@timestamp" => "2016-05-31T09:04:25.958Z",
"host" => "dayrhebfmd001.enterprisenet.org",
"path" => "/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log",
"type" => "apache",
"StartTime" => "05:14:34",
"EndTime" => "05:15:28",
"ElapseTime" => "00:00:54",
"External_Itemcode" => "0124524554",
"User_id" => "3024",
"Event_name" => " Loading loadItemstoWorkspace Details",
"Date" => "2016-05-26T04:00:00.000Z"
}
{
"message" => "",
"@version" => "1",
"@timestamp" => "2016-05-31T09:04:25.960Z",
"host" => "dayrhebfmd001.enterprisenet.org",
"path" => "/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log",
"type" => "apache",
"tags" => [
[0] "_grokparsefailure",
[1] "_dateparsefailure"
],
"Date" => "%{monthday}-%{month}-%{year}"
}
failed action with response of 400, dropping action: ["index", {:_id=>nil, :_index=>"logstash-2016.05.31", :_type=>"apache", :_routing=>nil}, #<LogStash::Event:0x5e14189f @metadata_accessors=#<LogStash::Util::Accessors:0x7d9d82c1 @store={"path"=>"/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log", "retry_count"=>0}, @lut={"[path]"=>[{"path"=>"/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log", "retry_count"=>0}, "path"]}>, @cancelled=false, @data={"message"=>"Date StartTime EndTime ElapseTime External_Itemcode User_id Event_name", "@version"=>"1", "@timestamp"=>"2016-05-31T09:04:25.956Z", "host"=>"dayrhebfmd001.enterprisenet.org",
"path"=>"/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log", "type"=>"apache", "tags"=>["_grokparsefailure", "_dateparsefailure"], "Date"=>"%{monthday}-%{month}-%{year}"}, @metadata={"path"=>"/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log", "retry_count"=>0}, @accessors=#<LogStash::Util::Accessors:0x4c2fef07 @store={"message"=>"Date StartTime EndTime ElapseTime External_Itemcode User_id Event_name", "@version"=>"1", "@timestamp"=>"2016-05-31T09:04:25.956Z", "host"=>"dayrhebfmd001.enterprisenet.org", "path"=>"/opt/esadmin/elasticsearch-1.7.3/bin/logstash-1.5.5/logging_AdminServer.log", "type"=>"apache", "tags"=>["_grokparsefailure", "_dateparsefailure"], "Date"=>"%{monthday}-%{month}-%{year}"}, @lut={"host"=>[{"message"=>"Date StartTime EndTime ElapseTime External_Itemcode User_id Event_name", "@version"=>"1", "@timestamp"=>"2016-05-31T09:04:25.956Z", "host"=>"dayrhebfmd001.enterprisenet.org",
Pls let us know your feedback..
Thanks,
Ganeshbabu R