目前,我使用的是试用版。当使用 monolog 和 syslog 从 php 代码命中时,日志将显示在 stackify 日志管理控制台中。但正如在
https://github.com/stackify/stackify-api/blob/master/endpoints/POST_Log_Save.md
当我使用邮递员工具点击时,我收到的响应是 { "成功":真, "拿":46 }
但日志不会显示在堆栈日志控制台中。我的邮递员请求标头:
提供了内容类型,接受,X-Stackify-PV,X-Stackify-Key。
身体:
{
"Env": "Prod",
"ServerName": "rajeshwar-latitude-3450",
"AppName": "Stackifytest",
"Msgs": [
{
"Msg": "debug message",
"Level": "DEBUG"
},
{
"Msg": "info message",
"Level": "DEBUG"
}
]
}
我很确定EpochMs字段是必需的。
请检查自述文件。它说哪些字段是必需的。
https://github.com/stackify/stackify-api/blob/master/endpoints/POST_Log_Save.md