In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Logstash installation 1, download
Logstash download
Https://www.elastic.co/downloads/logstash
2. Install and check the jdk version
If you don't need to install jdk yourself
Java-version
Upload the logstash installation package to the / opt folder and extract # extract tar-zxvf logstash-6.1.1.tar.gz# to establish a soft link ln-s / opt/logstash-6.1.1/bin/logstash / usr/local/sbin/logstash test logstash
Principle: input, filter, output
# because soft links have been added, you can directly enter the command logstash to execute logstash-e 'input {stdin {}} output {stdout {}'
Enter hello to see that logstash gets the hello directly.
three, Common parameter usage-n specifies the name of the Logstash instance. If not specified, the default host name-f specifies the Logstash configuration file or directory. If you specify the directory, the configuration file-e in the merge directory specifies the Logstash configuration data, which is specified as a string. It is often used to manually test-l specify the Logstash log file directory, and under the default installation directory, the logs directory-debug enables Logstash debugging mode-log.level specifies the Logstash log level Fatal/error/warn/info/debug/trace--config.debug specifies Logstash to print configuration merge log. The premise is to open debug mode-debug and set log level-t to test Logstash configuration file. You must use-r to set Logstash automatic overload configuration file with-f, and use-- config.reload.interval to set Logstash reload configuration cycle with-f. Default is 3 seconds-http.host sets LogstashAPI listening address-http.port sets LogstashAPI listening port-quiet sets Logstash to quiet mode
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.