V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
xdz0611
V2EX  ›  问与答

轻量级的 tail -f 输出到 web 的方案?

  •  
  •   xdz0611 · 2017-04-21 22:34:55 +08:00 · 808 次点击
    这是一个创建于 2555 天前的主题,其中的信息可能已经有所发展或是发生改变。
    就是在一个网页上显示 tail -f $logfile 的输出, 有什么轻量级的方案么?
    我现在知道的有 elastic, 但是明显太重量级了. 这里只是一个简单的需求.
    xdz0611
        1
    xdz0611  
    OP
       2017-04-21 23:08:23 +08:00
    https://gist.github.com/scoffey/1617014 这个不错, 已经用上了

    https://github.com/jdrews/logstation 这个看上去也不错, 有空试试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   987 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:48 · PVG 06:48 · LAX 15:48 · JFK 18:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.