gpt4 book ai didi

json - Loggly - 重构上下文格式 - 索引唯一字段名限制

转载 作者:行者123 更新时间:2023-11-29 02:53:36 25 4
gpt4 key购买 nike

在过去的几个月里,我们一直错误地登录到 Loggly。历史上,我们的上下文是字符串的数字数组。

['message1', 'message2, 'message3' ...]

我们希望向 loggly 发送一组向前移动的对象,这些对象应该使用更少的键。

示例新的 loggly 负载:

['orderId' => 123, 'logId' => 456, 'info' => json_encode(SOMEARRAY)]

在测试一种新格式时,我们拥有更清晰的日志记录格式,Loggly 提供以下消息:

2 out of 9 sent in this event were not indexed due to max allowed (100) unique fieldnames being exceeded for this account. The following were the affected fields: [json.context.queue, json.context.demandId]

我们有一个 30 天的计划。这是否意味着要正确索引我们的上下文,我们需要等待 30 天让旧的索引日志过期?有没有办法重建索引以适应新格式的日志?

最佳答案

您无需等待 30 天。只要您停止以旧格式发送日志,通常在几个小时或最多几天内,您就可以发送具有新字段的数据。您也可以联系 support@loggly.com。

关于json - Loggly - 重构上下文格式 - 索引唯一字段名限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27546044/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com