# Automatic reports - getting only top 20 and how to schedhule monthly

**URL:** <https://discuss.elastic.co/t/automatic-reports-getting-only-top-20-and-how-to-schedhule-monthly/92107>\
**Category:** Kibana\
**Tags:** elastic-stack-reporting\
**Created:** [July 6, 2017, 1:20pm UTC](https://discuss.elastic.co/t/automatic-reports-getting-only-top-20-and-how-to-schedhule-monthly/92107 "2017-07-06T13:20:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [July 6, 2017, 1:20pm UTC](https://discuss.elastic.co/t/automatic-reports-getting-only-top-20-and-how-to-schedhule-monthly/92107/1 "2017-07-06T13:20:34Z")

</div>

Hi All,

Iam using Xpack for reporting .  
Am having a visualisation in kibana and I want to see all the all info in the created datatable, am able to see in kibana but am receiving only top 20 counts in reporting pdf but it has more than that moreover how to schedule it every 1st of the month to generate the previous month data.

Am using this

```auto
PUT _xpack/watcher/watch/error_report
{
  "trigger" : {
    "schedule": {
      "interval": "1h"
    }
  },
  "actions" : {
    "email_admin" : { 
      "email": {
        "to": "'Recipient Name <recipient@example.com>'",
        "subject": "Error Monitoring Report",
        "attachments" : {
          "error_report.pdf" : {
            "reporting" : {
              "url": "http://0.0.0.0:5601/api/reporting/generate/dashboard/Error-Monitoring?_g=(time:(from:now-1d%2Fd,mode:quick,to:now))", 
              "retries":6, 
              "interval":"1s", 
              "auth":{ 
                "basic":{
                  "username":"elastic",
                  "password":"changeme"
                }
              }
            }
          }
        }
      }
    }
  }
}

```

Any help would really helpfull for me.  
Thanks i advance ,  
Raj

---

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [July 13, 2017, 10:48am UTC](https://discuss.elastic.co/t/automatic-reports-getting-only-top-20-and-how-to-schedhule-monthly/92107/2 "2017-07-13T10:48:02Z")

</div>

If any one have some ideas please help me

---

<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:** [August 10, 2017, 10:48am UTC](https://discuss.elastic.co/t/automatic-reports-getting-only-top-20-and-how-to-schedhule-monthly/92107/3 "2017-08-10T10:48:17Z")

</div>

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