Open georgewallace opened 3 weeks ago
@KOTungseth This is the example I ran across with the date filters.
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Transfered to the Discover team. However, this issue might also occur in Dashboard and Visualizations.
So the problem is that the time range picker does not allow to go back to 1932
for example, right? Yeah, agree, it might be confusing for users.
The @elastic/kibana-visualizations team owns this code. Or it might be the default behaviour from Eui.
I checked in the EUI docs and here it works but also in a quick check running locally
I tried to reproduce but couldn't. Having another look at your description I noticed:
you are searching from 24 years ago (2 weeks ago 24 years ago was October 2000) So you were searching From Oct 2000 to Mar 14th 2000, that's why it's not valid. The first date is nearer to now than the second date. If you choose a different date, e.g. in the year 2001, it should work in this case
I think there are couple of different things going on in this issue:
There are definitely UX problem with the date picker and we are aware of those.
I've checked locally on main
but I can't reproduce the same selected date when clicking the Select entire timerange
button.
So I believe this can be just marked as an issue with the date picker and move the ownership of this to vis team.
I don't think there's a technical issue here, I think it's an UX issue. The displayed error is correct, technically:
Serverless Docs
Welcome to Elastic Serverless
Description
The following takes you through my testing of trying to get my example to work
When testing the Aggregations page, I was running the examples using the sample data I used in Get started. This data can be seen in the Resources and additional context section.
In our getting started example we just create an index and add data to the index using the
_bulk
endpoint. This sets ourrelease_date
as our date field. I tried to run the example replacing my-field withpage_count' and
my-indexwith books. I got no results. This was because my timestamp field
release_date has old dates from when the books came out.Next I decided to discover my data as I wanted to look at it. I got the following view.
Knowing that my data is older than 2015, I tried to use the date filter up top to find my records. The absolute picker only gave me dates back to 2008.
I went back to the main page and clicked Search entire time range
This now gives me 1925-1939 as options in the Absolute picker.
If I switch to the relative picker, any range that I pick under 25 years gives me an error.
This experience is confusing to a customer trying to discover their data.
Resources and additional context