I am trying to build a bar graph (x-axis=hours 0-23 and y-axis= avg. number of logs) but I have not been able to get this information. I have even tried creating custom Elasticsearch queries with dev tools. But, it has been unsuccessful as well. If you wish to see my queries please let me know and I will post them here
I am trying to build a bar graph (x-axis=hours 0-23 and y-axis= avg. number of logs) but I have not been able to get this information
You can create a visualization with a histogram aggregation on the a-xis. The example below uses the web logs sample data set that ships with kibana. hour_of_day is a scripted field that converts a date field into an number for the hour of the day. The script is doc['timestamp'].value.getHour()
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.