I'm trying to get the hours of the day that the message was sent at so I can filter for during work hours in kibana but the doc['@timestamp'].date.hourOfDay that is suggested to use in the painless scripting documentation is not working. any advice would be much appreciated
I am trying to filter out the hours so I will be able to see what happened during the hours people were at work. I am not sure of your question I am new to scripted fields in kibana
Yes, please let me know if the examples above help with that. Our documentation for scripted fields is a bit hard to use, but I think that you are close based on the examples I saw.
I still feel very lost after going over the documentation you have supplied unfortunately . I feel like im missing something it doesn't return an error but it also doesn't return a result
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.