Extract CSV Data

Hi, I am attempting to extract more than 1 month's worth of data and put it into a CSV through the discover tab. Unfortunately, when I tried to do that I only get a day's worth of data. Is there any way that you can help me with this please? I also got the following warnings:
Screenshot 2022-05-13 at 14.38.47

My search reached the max size and contains partial data. Is there any way to increase the max size?

There are various settings, see Reporting settings in Kibana | Kibana Guide [8.2] | Elastic