I'm trying to fetch data only for current month of april 2023.
For example,
I have a query filter condition in my search bar in my kibana data table as
configuredDate > now-30d
which gives me data for past 1 month.
But I want to fetch data from April 1st to April 28th 2023.
The above query fetches me data from March 30th 2023 to April 28th 2023.
I want to fetch data from 1st of the current month to current date for other queries.
This data may dynamic , but i want to fetch from 1st of current month i.e from April 1st 2023 to April 28th 2023 or current timestamp.
What I have done to get something similar is use Lens:
For each visualization
Histogram is set to monthly
Then for Last Month Visualizations use the shift=1M in the metric calculation
Set the dashboard Time Picker to 31 Days or so.. or setup up customer quick picks via under Kibana Advanced settings...
Not perfect but may get you closer.
I have a dashboard that shows a year with Each Month and some Month Over Month this is how I do it... not exactly the same as yours but best I could do.
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.