# Watcher generated report missing x-axis labels

**URL:** <https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934>\
**Category:** Elasticsearch\
**Created:** [December 1, 2017, 1:28pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934 "2017-12-01T13:28:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karolinebryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karolinebryn/32/17095_2.png) [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Post date:** [December 1, 2017, 1:28pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/1 "2017-12-01T13:28:12Z")

</div>

I have set up a watcher that generates a report based on a dashboard and sends it on email as a pdf attachement.  
In the PDF the x-axis labels are not visible, but they are visible on the dashboard. Why is that and how can I fix it?

In the pdf report the labels are missing for x-axis (they are shown for y-axis):

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/1/0184c3bc05b7089d1b9710c3012e4901cb2bfec5.png)

On the dashboard the pdf is generated from the labels are visible (however only for every other month, not for every month which is what I would prefer):  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/0/30a7bd6737318beff3f8726015d6aee3aeb77606.png)

I also wonder how I can set up the watcher interval to be every month (preferably the first in every month)?

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [December 1, 2017, 2:50pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/2 "2017-12-01T14:50:25Z")

</div>

Hey @Karolinebryn which version of Kibana are you using where you're seeing this behavior?

---

<div class="post-metadata">

**Author:** ![Karolinebryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karolinebryn/32/17095_2.png) [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Post date:** [December 1, 2017, 2:51pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/3 "2017-12-01T14:51:27Z")

</div>

@Brandon_Kobel Kibana 5.6.2 (in ElasticCloud) 🙂

Also; du you know how to set the watcher interval to be every month?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 1, 2017, 3:03pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/4 "2017-12-01T15:03:57Z")

</div>

hey,

you should use a cron expression for that instead of an interval, if it is so long running. The interval starts counting from zero when a master node switches or the cluster is restarted, and I am sure you want to get that report every first of the month or? 🙂

--Alex

---

<div class="post-metadata">

**Author:** ![Karolinebryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karolinebryn/32/17095_2.png) [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Post date:** [December 1, 2017, 3:05pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/5 "2017-12-01T15:05:12Z")

</div>

@spinscale yes that is exactly what I want 🙂 Do you have any examples or resources on how to achieve this?

Edit: I think maybe I figured it out. Is it something like this?

```
"trigger" : {
    "schedule" : {
      "monthly" : { "on" : 1, "at" : "noon" }
    }
  }
```

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [December 1, 2017, 3:46pm UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/6 "2017-12-01T15:46:25Z")

</div>

Hey @Karolinebryn the x-axis labels were fixed in 5.6.3, could you try updating your Elasticsearch/Kibana to 5.6.3?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [December 4, 2017, 8:25am UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/7 "2017-12-04T08:25:12Z")

</div>

yes, that would work as well! Or this cron expression (the croneval tool is part of x-pack)

```auto
./bin/x-pack/croneval -c 12 '0 0 6 1 * ?'
Valid!
Now is [Mon, 4 Dec 2017 08:24:33]
Here are the next 12 times this cron expression will trigger:
1.	Mon, 1 Jan 2018 07:00:00
2.	Thu, 1 Feb 2018 07:00:00
3.	Thu, 1 Mar 2018 07:00:00
4.	Sun, 1 Apr 2018 08:00:00
5.	Tue, 1 May 2018 08:00:00
6.	Fri, 1 Jun 2018 08:00:00
7.	Sun, 1 Jul 2018 08:00:00
8.	Wed, 1 Aug 2018 08:00:00
9.	Sat, 1 Sep 2018 08:00:00
10.	Mon, 1 Oct 2018 08:00:00
11.	Thu, 1 Nov 2018 07:00:00
12.	Sat, 1 Dec 2018 07:00:00

```

--Alex

---

<div class="post-metadata">

**Author:** ![Karolinebryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karolinebryn/32/17095_2.png) [@Karolinebryn](https://discuss.elastic.co/u/Karolinebryn)\
**Post date:** [December 4, 2017, 8:35am UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/8 "2017-12-04T08:35:15Z")

</div>

@Brandon_Kobel yes, this fixed my problem 🙂

---

<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:** [January 1, 2018, 8:35am UTC](https://discuss.elastic.co/t/watcher-generated-report-missing-x-axis-labels/109934/9 "2018-01-01T08:35:30Z")

</div>

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