Reporting from kibana max size 10mb

Good morning.
I have a question: we tried to export several days of logs from the share>csv report in kibana's interface.
We only got 45 minutes of logs (instead on 1 month) cause the max size appears to be 10mb.
I tried to increase the size of the csv report putting in kibana.yml -> xpack.reporting.csv.maxSizeBytes: 104857600 (100mb) but it fails. Then i tried to put 50mb but it doesn't change the game.
Anyone knows how to export more data successfully?
Thank you very much!

You also need to update this: http.max_content_length in the elasticsearch.yml and server.maxPayloadBytes in kibana.yml. That should work.