OpenSearch Grafana:如何可视化文本字段

发布于 2025-01-28 07:39:32 字数 512 浏览 2 评论 0原文

这是我在stackoverflow上的第一篇文章

,将json日志从filebeat到logstash发送到opensearch to grafana 一切正常(如果涉及整数数据) 我什至可以看到OpenSearch收到我的字符串字段和布尔字段,甚至读取它们。

但是,当我想制作一个仪表板以可视化一些字符串和布尔值时,只会发现我的整数字段

可以帮助我可视化Grafana上的字符串,而不仅仅是数字。

这是我尝试选择数据时能看到的图像,我只看到数字字段名称< /a>

谢谢安德鲁,现在我看到了,但是我只想看到1个字段 并不是所有人 添加到grafana 的日志

this is my first ever post on stackoverflow

Im sending json logs from filebeat to logstash to opensearch to grafana
and everything is working perfectly (if it comes to integer data)
i can even see that opensearch receives my string fields and boolean fields and even reads them.

but when i want to make a dashboard to visualize some strings and booleans, it only finds my integer fields

Can someone help me visualize Strings on grafana and not only numbers.

this is an image of what i can see when i try to select data, i only see the number field names

thanks andrew, now i see this, but i want to only see 1 field
and not all of them
logs added to grafana

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一直在等你来 2025-02-04 07:39:32

您可以尝试使用日志面板

和我使用的示例 - 请求就是这样:

{namespace=~"$namespace", stream=~"$stream", container =~"$container"} |= "$query"

但是我正在使用Fluent -Bit + Loki

You can try using the Logs panel

And an example of how I use - the request is something like this:

{namespace=~"$namespace", stream=~"$stream", container =~"$container"} |= "$query"

But I'm using fluent-bit + loki

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文