加载中

从应用程序摄取数据

以下教程演示了如何使用 Elasticsearch 语言客户端将数据从应用程序采集到 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 的部署中。

使用 Node.js 摄取数据
将 Node.js 应用程序数据安全地采集到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署中,以便随后进行搜索和修改。
使用 Python 摄取数据
将 Python 应用程序数据安全地采集到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署中,以便随后进行搜索和修改。
以 Logstash 作为代理从 Beats 摄取数据
将 Filebeat 和 Metricbeat 的服务器指标或其他类型数据采集到作为中转的 Logstash 中,然后将这些数据发送到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署。使用 Logstash 作为代理可以将您的 Elastic Stack 流量限制为通过单一的面向外部的防火墙例外或规则。
从关系型数据库摄取数据
使用 Logstash JDBC 输入插件将关系型数据库中的数据采集到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署中。Logstash 可以作为一种高效的方式来复制记录,并接收关系型数据库在发生变更时的更新,然后将新数据发送到部署中。
使用 Filebeat 从 Python 应用程序摄取日志
从 Python 应用程序获取日志并将其安全地传输到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署中。您将设置 Filebeat 以监控 ECS 格式的日志文件,然后即可在 Kibana 中查看日志事件发生时的实时可视化效果。
使用 Filebeat 从 Node.js Web 应用程序摄取日志
从 Node.js Web 应用程序获取 HTTP 请求日志并将其安全地传输到您的 Elastic Cloud Hosted 或 Elastic Cloud Enterprise 部署中。您将设置 Filebeat 以监控 ECS 格式的日志文件,然后即可在 HTTP 请求于 Node.js Web 服务器上发生时,查看日志事件的实时可视化效果。
提示

您可以使用 Elasticsearch 摄取管道对传入的数据进行预处理。这使您能够优化数据的索引方式,并简化诸如从日志文件中提取错误代码以及将地理位置映射到 IP 地址等任务。

© . This website operates independently and is not affiliated with or endorsed by Elasticsearch B.V. All brand names, logos, and trademarks are the property of their respective owners.