V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xdz0611
V2EX  ›  问与答

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

  •  
  •   xdz0611 · Apr 21, 2017 · 1151 views
    This topic created in 3294 days ago, the information mentioned may be changed or developed.
    就是在一个网页上显示 tail -f $logfile 的输出, 有什么轻量级的方案么?
    我现在知道的有 elastic, 但是明显太重量级了. 这里只是一个简单的需求.
    xdz0611
        1
    xdz0611  
    OP
       Apr 21, 2017
    https://gist.github.com/scoffey/1617014 这个不错, 已经用上了

    https://github.com/jdrews/logstation 这个看上去也不错, 有空试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1273 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:30 · PVG 01:30 · LAX 10:30 · JFK 13:30
    ♥ Do have faith in what you're doing.