Elasticsearch:新IP地址上的警报

发布于 2025-01-28 13:46:58 字数 519 浏览 6 评论 0原文

我已经陷入了3天的问题。我正在尝试在新的IP地址上发出警报,但是日志文件的格式并没有帮助我

”

所以我已经使用了管道来解析管道使用Grok的日志

%{NUMBER:bytes} %{IP:client} %{URIPATH:itstheip} %{GREEDYDATA:le-reste}

,然后我配置了FileBeat.yml:

output.elasticsearch:
  hosts: ["localhost:9200"]
  pipeline: my_pipeline_id`

但是现在我不知道该怎么做,或者在哪里可以找到新的解析日志文件。

I've been stuck in a problem for 3 days now..I am trying to alert on new IP address but the format of log file is not helping me

enter image description here

so I've used a pipeline to parse the log with grok

%{NUMBER:bytes} %{IP:client} %{URIPATH:itstheip} %{GREEDYDATA:le-reste}

and then I've configured filebeat.yml :

output.elasticsearch:
  hosts: ["localhost:9200"]
  pipeline: my_pipeline_id`

but now I don't know what to do or where can I find the new parsed log file.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文