# X-Pack: Report generation PNG layout

**URL:** <https://discuss.elastic.co/t/x-pack-report-generation-png-layout/196159>\
**Category:** Kibana\
**Created:** [August 21, 2019, 4:32pm UTC](https://discuss.elastic.co/t/x-pack-report-generation-png-layout/196159 "2019-08-21T16:32:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qdelettre](https://avatars.discourse-cdn.com/v4/letter/q/858c86/32.png) [@qdelettre](https://discuss.elastic.co/u/qdelettre)\
**Post date:** [August 21, 2019, 4:32pm UTC](https://discuss.elastic.co/t/x-pack-report-generation-png-layout/196159/1 "2019-08-21T16:32:48Z")

</div>

Hi.

I'm using Kibana 6.6.0 and the PNG reporting functionnality.  
It's working but i would like to know if it's possible to set the layout dimensions in the job parameters ?

Thanks

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [August 21, 2019, 10:37pm UTC](https://discuss.elastic.co/t/x-pack-report-generation-png-layout/196159/2 "2019-08-21T22:37:57Z")

</div>

Hi there! Thanks for posting your question on the forums. There's no officially supported way to do this. Would you mind [submitting a feature request to add one](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)?

However, there is an _unoffical_ way to _maybe_ do this, which you could try out but I can't guarantee it will work. You could try going into `kibama.yml` and setting these settings which I think will hardcode new dimensions for the PNG report:

```auto
xpack.reporting.capture.viewport.width: 500
xpack.reporting.capture.viewport.height: 2500

```

Just a warning: this isn't documented so I'm not entirely sure what this will do, or if it will even work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 18, 2019, 10:38pm UTC](https://discuss.elastic.co/t/x-pack-report-generation-png-layout/196159/3 "2019-09-18T22:38:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
