I would like to load certain data but, when trying to create vertical bar chart with date value on x-axis (date histogram), I am unable to use it.
The only field I can is @timestamp, and therefore would like to load it with a value from the source file.
I just tried, but get lot of warnings, and it wasn't loaded.
What I did wrong?
filter {
date {
match => [ "my_date", "dd.MM.YYYY HH:mm:ss" ]
target => { "@timestamp" => "%{my_date}" }
}
}
warning was:
Failed parsing date from field {:field=>"my_date", :value=>"18.08.2016 12:24:37", :exception=>"undefined method `start_with?' for ["@timestamp", "%{my_date}"]:Array", :config_parsers=>"dd.MM.YYYY HH:mm:ss", :config_locale=>"default=en_US", :level=>:warn}
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.