简体   繁体   English

黎曼破折号不显示任何内容

[英]Riemann-dash not showing anything

I am new to riemann. 我是riemann的新手。 I am facing an issue which i guess would be trivial but not able to find the solution. 我面临一个我认为微不足道但无法找到解决方案的问题。 I am not getting any data on the riemann dashboard. 我在riemann仪表板上没有任何数据。 I have followed the exact steps said in riemann.io/howto.html My riemann.config file 我已经按照riemann.io/howto.html 我的riemann.config文件中所述的确切步骤进行操作

localhost:4567 page content 本地主机:4567页面内容

Can anyone tell how to get things started. 任何人都可以告诉如何开始。 i even did 我什至做到了

sudo netstat -nlp | grep 5555 sudo netstat -nlp | grep 5555 and got one entry for tcp and one entry for udp. sudo netstat -nlp | grep 5555并为tcp获得了一项,为udp获得了一项。 Because of low reputation points cant upload more links for the image. 由于信誉较低,因此无法上传更多图片链接。

first put an expression in your config that prints statements and then indexes them: 首先在配置中放入一个表达式,该表达式可打印语句,然后为它们建立索引:

(streams 
   ...
   prn
   index
   ...)

and make sure they are getting indexed. 并确保它们被索引。

then add a graph to your dash showing the service "riemann index size" and make sure that this index which exists by default is getting to dash and that it has a non-zero number. 然后在您的破折号中添加一个图形,显示服务“ riemann索引大小”,并确保默认情况下存在的该索引变为破折号,并且其数字为非零。

the events really are not getting to dash, then connect with any of the clients and make sure you can run queries. 这些事件实际上并没有破灭,然后与任何客户端连接并确保您可以运行查询。 I prefer the python client for this because it has a nice CLI for doing this from the terminal. 我更喜欢python客户端,因为它具有从终端执行此操作的不错的CLI。

always check the box in the upper right of the Riemann dash and make sure it has the correct server name. 请始终选中Riemann破折号右上方的框,并确保其具有正确的服务器名称。 I have also had to configure riemann to bind to 0.0.0.0:5556 before it would accept queries when it was not running on the same host or when it was running on the same host though in a docker container. 我还必须将r​​iemann配置为绑定到0.0.0.0:5556,以便在它不在同一主机上运行或在Docker容器中在同一主机上运行时接受查询。

and last of all, consider moving to something other than dash for graphing these things as people often out-grow it quickly anyway. 最后,考虑到人们通常经常快速将其增长,所以请考虑使用破折号以外的其他方式来绘制这些图形。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM