i need to use the date field in my Raw Data to used as the @timestamp in my index:
RAW record data in the Filebeat -->
20190402-000037,8120791274.50,7174800715.40,4.18,/run 11.00% / 77.00% /data 55.00% /boot 1.00% /home 32.00%,,0,30.16,30.16,6.12,13.01
Date field in FileBeat = "20190402-000037"
-actually the DATE field still "text" note "date" as below -->
"DATE" : {
"type" : "text",
"norms" : false,
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
-while the only date field is timestamp field as below -->
"properties" : {
"@timestamp" : {
"type" : "date"
},
-grok pattern after adding the "date" filter as below -->
Note: when the RAW data record had yesterday date = "20190402-043536" and using the above grok , the index not created. however when i use the current data of today = "20190403-043536" , the index was created. and i don't know the reason.
-still need some suggestions to solve the issue for this field and use it as my "timestamp" in my index .
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.