Tag: kibana

dynamic生成kibana iframe(短url)

我有一个网页有一个select下拉列表几个月,因为它的选项,并与kibana iframe div。 每当用户从下拉列表中select一个月份时,用户界面应该能够将iframe可视化更改为选定的月份。 我已经写了一个简单的代码,只要改变一个月,就更改iframe源。 我现在想能够从Nodejs服务器或Kibana获取这些iframe链接(url)。 <select id="month"> <option value="Jan">Jan</option> <option value="Feb">Feb</option> <option value="Mar">Mar</option> <option value="Apr">Apr</option> </select> <div> <iframe id="monthVisualization"></iframe> </div> /*function that is executed when month is selected from dropdown*/ function changeIframe(month) { /*some code that gets iframe link of visualization of month that is received as parameter*/ var url = someLink; $('#monthVisualization').attr('src', someLink); […]

Kibana不加载样式表

我正在尝试从源代码构buildkibana 4.1。 我刚刚使用下载的代码 git clone -b '4.1' 'https://github.com/elastic/kibana.git' 然后安装所有的依赖使用 sudo npm install 然后我开始使用服务器 npm start kibana加载正常,但它正在加载任何CSS文件我得到404错误的所有样式表 GET http://localhost:5601/styles/main.css?_b=@@buildNum 404 GET http://localhost:5601/plugins/visualize/styles/main.css 404 GET http://localhost:5601/plugins/discover/styles/main.css 404 GET http://localhost:5601/plugins/dashboard/styles/main.css 404 GET http://localhost:5601/plugins/settings/styles/main.css 404 GET http://localhost:5601/components/collapsible_sidebar/collapsible_sidebar.css 404 GET http://localhost:5601/components/typeahead/typeahead.css 404 GET http://localhost:5601/plugins/markdown_vis/markdown_vis.css 404 GET http://localhost:5601/plugins/metric_vis/metric_vis.css 404 GET http://localhost:5601/plugins/table_vis/table_vis.css 404 GET http://localhost:5601/components/doc_table/doc_table.css 404 GET http://localhost:5601/components/visualize/visualize.css 404 GET http://localhost:5601/components/doc_viewer/doc_viewer.css 404 […]

如何在kibana中安装newrelic

我试图为我的kibana实例安装newrelic。 我得到的数据在newrelic但收到以下警告: Some modules were uninstrumented during the current time window: bluebird, hapi. Make sure require('newrelic'); is the first line of the application's main module. 我以为这是“应用程序的主要模块”,但显然不是。 我应该在哪里require('newrelic'); 在kibana代码来让它正常工作?

如何将来自客户端的JS错误logging到kibana?

我有Web应用程序支持结束在logstash/elasticsearch/kibana和logstash/elasticsearch/kibana处理系统日志,如(access_error.log, messages.log etc) 。 现在我需要将所有JavaScript客户端错误logging到kibana中。 做这个的最好方式是什么? 编辑:我必须添加额外的信息,这个问题。 正如@Jackie Xu提供了我的问题的部分解决scheme,并从我的评论如下: 我最感兴趣的是实现服务器端error handling。 我认为这不是有效的写入每个错误的文件。 我正在寻找最佳实践如何使其更具性能。 我需要处理服务器端的js错误logging比写入文件更有效。 你可以提供一些场景,我怎样才能提高服务器端的日志logging性能?