使用brew安装Logstash(Mac)

(1)首先,点击Elastic Homebrew存储库

brew tap elastic/tap
% brew tap elastic/tap

==> Tapping elastic/tap
Cloning into '/usr/local/Homebrew/Library/Taps/elastic/homebrew-tap'...
remote: Enumerating objects: 1060, done.
remote: Counting objects: 100% (301/301), done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 1060 (delta 219), reused 159 (delta 111), pack-reused 759
Receiving objects: 100% (1060/1060), 258.51 KiB | 1.68 MiB/s, done.
Resolving deltas: 100% (805/805), done.
Tapped 17 formulae (37 files, 362KB).

(2)点击Elastic Homebrew存储库后,使用brew install命令安装Logstash的默认发行版

brew install elastic/tap/logstash-full
% brew install elastic/tap/logstash-full

==> Downloading https://artifacts.elastic.co/downloads/logstash/logstash-7.14.1-
######################################################################## 100.0%
==> Installing logstash-full from elastic/tap
==> find /usr/local/Cellar/logstash-full/7.14.1/libexec/jdk.app/Contents/Home/bi
==> Caveats
Please read the getting started guide located at:
  https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html

To have launchd start elastic/tap/logstash-full now and restart at login:
  brew services start elastic/tap/logstash-full
Or, if you don't want/need a background service you can just run:
  logstash
==> Summary
🍺  /usr/local/Cellar/logstash-full/7.14.1: 13,687 files, 586.1MB, built in 27 seconds

(3)使用Homebrew进行Logstash启动

立即启动logstash-full,并在登录时重新启动

brew services start elastic/tap/logstash-full
% brew services start elastic/tap/logstash-full

==> Successfully started `logstash-full` (label: homebrew.mxcl.logstash-full)

(4)运行Logstash

logstash
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值