Kibana 报告如何一次处理多个作业?
How can Kibana reporting process multiple jobs at once?
我正在使用 Kibana API 来检索可视化。我希望能够 post 一次处理多个作业,并让它们同时处理:
如您所见,目前任何新的报告作业都将等到前一个报告作业完成,这使得事情变得非常缓慢。
我还尝试 posting 来自不同弹性用户的作业,认为每个用户都有一个单独的作业队列。然而,队列似乎对所有用户都是全局的,因此如果我将任何作业作为单独的用户添加到上面的同一服务器,它将必须等到用户 'reporting' 创建的所有 7 个作业完成后再开始过程。
关于如何使这个异步的任何想法?或者至少是一种加快速度的解决方法?
我在 discuss.elastic.co 上发布了这个问题,这是答案:
There is no way to run multiple reporting jobs at the same time. This is done in order to minimize the impact of reporting on the Kibana server. You could create multiple Kibana instances and this way each instance will have it's own reporting queue, iirc.
Also, you can schedule the reporting jobs using watcher, this way you can run them over night and have them all available in the morning.
如果 Kibana 在这方面有意限制自己,我希望至少有一种方法可以将 Kibana 的报告队列隔离为他们自己的服务。目前似乎没有类似的东西。
我正在使用 Kibana API 来检索可视化。我希望能够 post 一次处理多个作业,并让它们同时处理:
如您所见,目前任何新的报告作业都将等到前一个报告作业完成,这使得事情变得非常缓慢。 我还尝试 posting 来自不同弹性用户的作业,认为每个用户都有一个单独的作业队列。然而,队列似乎对所有用户都是全局的,因此如果我将任何作业作为单独的用户添加到上面的同一服务器,它将必须等到用户 'reporting' 创建的所有 7 个作业完成后再开始过程。
关于如何使这个异步的任何想法?或者至少是一种加快速度的解决方法?
我在 discuss.elastic.co 上发布了这个问题,这是答案:
There is no way to run multiple reporting jobs at the same time. This is done in order to minimize the impact of reporting on the Kibana server. You could create multiple Kibana instances and this way each instance will have it's own reporting queue, iirc. Also, you can schedule the reporting jobs using watcher, this way you can run them over night and have them all available in the morning.
如果 Kibana 在这方面有意限制自己,我希望至少有一种方法可以将 Kibana 的报告队列隔离为他们自己的服务。目前似乎没有类似的东西。