I am trying to build a visualization on Kibana to display data per day of the week. In other words, count of transactions for Monday, Tuesday, Wednesday, etc. over a duration.
I tried variations on the following JSON input filter on a histogram graph but nothing seemed to work:
{
"script": "doc['@timestamp'].value.date.dayOfWeek().getAsText()"
}
I read somewhere that Kibana can't preform term aggregations on strings (only on numbers). Is this true?
Is it possible to retrieve the day of the week from a timestamp as depicted above in Kibana (I don't have access to ElasticSearch or logstash so I can't manipulate the data at those ends).
Using the latest version of Kibana