将记录的信息从一台计算机重定向到另一台计算机的进程?
我的设置:我有一台计算机运行应用程序 foo
,并使用 rsyslog 将信息记录到另一台远程计算机上的文件中。远程计算机正在运行不同的应用程序 bar
。 bar
读取它收到的记录文件并使用这些信息进行一些处理,但是,这很慢。
我想要做什么:我想将foo
日志文件中的信息直接通过管道传输到进程bar
中。我想理论上我可以改变 foo 的源代码来支持类似的东西,甚至绕过 rsyslog 或在本地写入文件,但它是一个大型企业级软件,将是最后的手段。
My setup: I have one computer running an application, foo
, and logging information using rsyslog to a file on another remote machine. The remote machine is running a different application, bar
. bar
reads the logged files it has received and does some processing with this information, however, this is slow.
What I'm trying to do: I would like to pipe the information from foo
's log file into the process bar
directly. I suppose I theoretically could alter foo
's source code to support something like this to even bypass rsyslog or writing to a file locally, but it is a massive enterprise-level software and would be a last resort.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论