[KIBANA] Empty dashboard in reporting via watcher

(Alessio Creo) #1

Hi there,

I'm generating a pdf report via wathcer every day, if I generate it manually I've got this pdf in about 20 seconds

But the report generated via watcher is this one

Following the kibana.yml if can be useful.

server.host: "0.0.0.0"

elasticsearch.username: "kibana"

elasticsearch.password: "mypassword"

elasticsearch.hosts: ["https://logmanager:9200"]

elasticsearch.requestTimeout: 60000

server.ssl.enabled: true

server.ssl.certificate: /Elastic/kibana-6.7.1-linux-x86_64/config/certs/cert.pem

server.ssl.key: /Elastic/kibana-6.7.1-linux-x86_64/config/certs/private_key.key

xpack.reporting.encryptionKey: "123456789"

xpack.reporting.index: ".reporting-a"

xpack.reporting.kibanaServer.port: 5601

xpack.reporting.kibanaServer.protocol: https

xpack.reporting.kibanaServer.hostname: "logmanager"

xpack.reporting.queue.timeout: 24000

elasticsearch.ssl.certificateAuthorities: ["/Elastic/kibana-6.7.1-linux-x86_64/config/certs/CAcert.pem","/Elastic/kibana-6.7.1-linux-x86_64/config/certs/ENTERPRICECA.pem","/Elastic/kibana-6.7.1-linux-x86_64/config/certs/rootCA.pem"]

elasticsearch.ssl.verificationMode: certificate

xpack.security.audit.enabled: true

pid.file: /Elastic/kibana-6.7.1-linux-x86_64/logs/kibana.pid

logging.json: false

Is there something I can change to resolve the problem?

(Tyler Smalley) #2

What does your watch look like. Does the user not have permissions to the underlying data?

https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html

(Alessio Creo) #3

Simple answer is always the most likely answer. Thank you very much. Problem solved in a second with your advice.