🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### Logstash Introduction   Logstash 是一个实时的管道式开源日志收集引擎。Logstash可以动态的将不同来源的数据进行归一并且将格式化的数据存储到你选择的位置。对你的所有做数据清洗和大众化处理,以便做数据分析和可视化。   我们对Logstash的日志收集做了大量的创新,但它的能力远不止收集日志这么简单。通过输入、过滤和输出插件Logstash可以对任何类型的事件丰富和转换,通过本地编码器还可以进一步简化此过程。Logstash通过大量的多样化数据来提升你的洞察力。 ### The Power of Logstash ##### Elasticsearch或其他更多应用的收集器 水平可扩展的数据处理管道和强大的Elasticsearch、Kibana组合协同工作。 ##### 插件式架构 混合、匹配和编排不同的输入、过滤器和输出,以便在管道协调中发挥作用。(原文:Mix, match, and orchestrate different inputs, filters, and outputs to play in pipeline harmony。个人认为其含义应该为:在输入、过滤、输出的管道中协调混合、过滤和匹配。) ##### Community-extensible and developer-friendly plugin ecosystem 超过200个可用插件,加上你自己创造和贡献的灵活性。(根据标题的意思应该是要表达可以根据需要自己灵活创建插件,原文如下:Over 200 plugins available, plus the flexibility of creating and contributing your own) ![static/images/logstash.png](https://www.elastic.co/guide/en/logstash/current/static/images/logstash.png) Analysis:分析 Archiving:归档 Monitoring:监控 Alerting:报警 ### Logstash Loves Data 收集越多知道的越多,Logstash欢迎任意形式和大小的数据。 ### Logs and Metrics(日志和指标) 一切从哪里开始。 + 处理所有类型的日志数据 + 轻松收集大量web日志如:[Apache](http://www.elastic.co/guide/en/logstash/6.4/advanced-pipeline.html),和应用程序日志如:[log4j](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-log4j.html) for java + 捕获许多其他日志格式如:[syslog](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-syslog.html),网络和防火墙日志,以及更多类型 + 享受和[Filebeat](https://www.elastic.co/products/beats/filebeat)互补的安全的日志转发能力。 + 通过[TCP](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-tcp.html)和[UDP](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-udp.html)从[Ganglia](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-ganglia.html),[collectd](http://www.elastic.co/guide/en/logstash/6.4/plugins-codecs-collectd.html),[NetFlow](http://www.elastic.co/guide/en/logstash/6.4/plugins-codecs-netflow.html),[JMX](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-jmx.html)和其他众多的基础架构和应用平台收集指标。 ### The Web Unlock the World Wide Web. + 将[HTTP requests](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-http.html)转换成事件 + 如[Twitter](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-twitter.html)用来做社会感情分析(只翻译了后半句,前半句实在整不出来啥意思。原文:Consume from web service firehoses like Twitter for social sentiment analysis) + 支持GitHub,HipChat,JIRA和无数其他应用程序的Webhook。 + 启用多个监控报警用例(原文:Enables many [Watcher](https://www.elastic.co/products/stack/alerting) alerting use cases) + 按需轮询 [HTTP endpoints](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-http_poller.html)来创建事件 + 从网络应用程序接口捕获健康、性能、指标等其他类型的数据。 + Perfect for scenarios where the control of polling is preferred over receiving。(不会,大意是说他的最佳使用场景。) ### Data Stores and Streams 发掘你的数据的更多价值。 + 使用[JDBC](http://www.elastic.co/guide/en/logstash/6.4/plugins-inputs-jdbc.html)接口从任何关系型或非关系型数据库存储总更好的理解你的数据。 + 从消息队列中统一不同的数据流。如:[Kafka](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-kafka.html),[RabbitMQ](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-rabbitmq.html),[Amazor SQS](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-sqs.html) ### Sensors and loT 探索其他更广泛的数据 + 在这个技术大爆炸的时代,通过获取和分析连接在这个庞大的物联网世界上的传感器获取的数据释放了无数的用例。 + 从移动设备到智能家庭、车联网、健康传感器以及其他的行业应用,Logstash也是最常见的事件收集器支柱。 ### Easily Enrich Everything 更好的数据意味着更好的知识。通过清洗和转换数据来提升实时洞察数据的能力。Logstash提供了许多聚合和转换以及模式匹配、地理映射和动态查找功能。 + [Grok](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-grok.html)是Logstash基本的过滤器,被广泛的用于将非结构化的数据结构化。享受其为致力于快速解决Web、System、Networking和其他类型的事件格式附带的丰富的集成模式, + 扩展你的视野通过从IP地址解析地理坐标,将复杂的日期规范化展示,简化K/V数据和CSV数据,指纹(匿名)敏感信息。并进一步从本地或Elasticsearch查询中丰富你的数据。(原文:Expand your horizons by deciphering [geo coordinates](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-geoip.html) from IP addresses, normalizing [date](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-date.html) complexity, simplifying [key-value pairs](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-kv.html) and [CSV](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-csv.html) data, [fingerprinting](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-fingerprint.html)(anonymizing) sensitive information, and further enriching your data with [local lookups](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-translate.html) or Elasticsearch [queries](http://www.elastic.co/guide/en/logstash/6.4/plugins-filters-elasticsearch.html).) + 编码器通常用于简化对[JSON](http://www.elastic.co/guide/en/logstash/6.4/plugins-codecs-json.html)和[多行事件](http://www.elastic.co/guide/en/logstash/6.4/plugins-codecs-multiline.html)等常见事件结构的处理。 有关一些流行的数据处理插件的概述,请参见[Transforming Data](http://www.elastic.co/guide/en/logstash/6.4/transformation.html)。 ### Choose Your Stash Route your data where it matters most. Unlock various downstream analytical and operational use cases by storing, analyzing, and taking action on your data. **Analysis** - [Elasticsearch](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-elasticsearch.html) - Data stores such as [MongoDB](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-mongodb.html) and [Riak](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-riak.html) **Archiving** - [HDFS](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-webhdfs.html) - [S3](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-s3.html) **Monitoring** - [Nagios](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-nagios.html) - [Ganglia](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-ganglia.html) - [Zabbix](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-zabbix.html) - [Graphite](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-graphite.html) - [Datadog](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-datadog.html) - [CloudWatch](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-cloudwatch.html) **Alerting** - [Watcher](https://www.elastic.co/products/watcher) with Elasticsearch - [Email](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-email.html) - [Pagerduty](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-pagerduty.html) - [IRC](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-irc.html) - [SNS](http://www.elastic.co/guide/en/logstash/6.4/plugins-outputs-sns.html)