Kibana not recognizing a date


(Djelouah Laâla) #1

Hey guys, I have two examples :
"datetxecheclasthour":"2017-04-28T12:50:00.077Z"
"txannczhier_date":"2017-04-25 00:00:00 +0200"

In the first case kibana recognize datetxecheclasthour as a date but in the second case it's not working, I tried to filter this in logstash but either the mutate filter and the grok filter didn't help me to solve this. What would you do in this case?

Thank you


(Djelouah Laâla) #2

Problem resolved : (As Magnus suggest me to do in a previous post)
Magnus solution

There is the issue to my problem. I wish that it can help some of you.

filter 
{	mutate 
	{
		convert => [ "txechecczhier_date", "string" ]
	}   
	date 
	{
		match => [ "txechecczhier_date", "ISO8601"]	
		target => "txechecczhier_date"
	}	
}

(system) #3

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