728x90
td-agent plugin(td-agent 플러그)
설치된 플러그인 목록 표시(로컬)
td-agent-gem list --local
$ td-agent-gem list --local
*** LOCAL GEMS ***
addressable (2.8.1)
async (1.30.3)
async-http (0.59.2)
async-io (1.34.0)
async-pool (0.3.12)
aws-eventstream (1.2.0)
...
uri (default: 0.10.0)
webhdfs (0.10.2)
webrick (1.7.0, default: 1.6.1)
xmlrpc (0.3.0)
yajl-ruby (1.4.3)
yaml (default: 0.1.0)
zip-zip (0.3)
zlib (default: 1.1.0)
원격 플러그인 목록 표시
td-agent-gem list --remote
$ td-agent-gem list --remote
- (1)
-A (0.0.0)
.cat (0.0.1)
.omghi (2)
0mq (0.5.3)
0xdm5 (0.1.0)
0xffffff (0.1.0)
0xn3va-hola (0.0.1)
10to1-crack (0.1.3)
1234567890_ (1.2)
12_hour_time (0.0.4)
...
zzot-semi-static (0.0.6)
zzot-zzot-semi-static (0.0.1)
zzsharedlib (0.0.7)
zzutil (0.0.4)
Zzzzz (0.0.1)
zzzzzz (0.0.3)
728x90
설치된 플러그인 업데이트
td-agent-gem update fluent-plugin-elasticsearch
$ td-agent-gem update fluent-plugin-elasticsearch
Updating installed gems
Nothing to update
플러그인 검색 방법
td-agent-gem search -r fluent-plugin-elasticsearch
$ td-agent-gem search -r fluent-plugin-elasticsearch
*** REMOTE GEMS ***
fluent-plugin-elasticsearch (5.2.4)
fluent-plugin-elasticsearch-check-size (0.1.0)
fluent-plugin-elasticsearch-cluster (0.1.0)
fluent-plugin-elasticsearch-dext (5.0.2)
fluent-plugin-elasticsearch-ruby (0.0.3)
fluent-plugin-elasticsearch-sm (1.4.1)
fluent-plugin-elasticsearch-ssl-verify (0.0.2)
fluent-plugin-elasticsearch-timestamp-check (0.3.1)
fluent-plugin-elasticsearch2 (3.5.7)
fluent-plugin-elasticsearchfork (0.5.1)
플러그인 설치
td-agent-gem install elasticsearch
$ td-agent-gem install elasticsearch
Fetching elasticsearch-8.6.0.gem
Fetching elasticsearch-api-8.6.0.gem
Successfully installed elasticsearch-api-8.6.0
Successfully installed elasticsearch-8.6.0
Parsing documentation for elasticsearch-api-8.6.0
Installing ri documentation for elasticsearch-api-8.6.0
Parsing documentation for elasticsearch-8.6.0
Installing ri documentation for elasticsearch-8.6.0
Done installing documentation for elasticsearch-api, elasticsearch after 18 seconds
2 gems installed
td-agent-gem 사용법
Usage: gem command [arguments...] [options...]
더보기
$ td-agent-gem
RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.
Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install
Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help gem_dependencies gem dependencies file guide
gem help platforms gem platforms guide
gem help <COMMAND> show help on COMMAND
(e.g. 'gem help install')
gem server present a web page at
http://localhost:8808/
with info about installed gems
Further information:
https://guides.rubygems.org
참고URL
- 우분투에 td-agent 설치 방법 https://scbyun.com/1525
- td-agent-bit 설치 : https://scbyun.com/509
728x90
'리눅스' 카테고리의 다른 글
[draft] 우분투에 Go를 설치하는 방법 (0) | 2023.02.18 |
---|---|
free 명령어 (0) | 2023.02.18 |
우분투에서 td-agent를 설치하는 방법 (0) | 2023.02.17 |
[리눅스] ubuntu 환경에서 elasticsearch와 kibana를 설치하는 방법 (0) | 2023.02.17 |
shasum 명령어 (0) | 2023.02.16 |