Closed vikman90 closed 6 days ago
This PR aims to undo object nesting in the agent registration request.
{ "groups": [], "host": { "architecture": "x86_64", "hostname": "Rocket", "ip": [ "172.28.54.98", "fe80::215:5dff:feb2:94ca" ], "os": { "name": "Ubuntu", "platform": "Linux" } }, "id": "7b565a01-8df4-4943-9fb1-6d347ab21853", "key": "XTsM35bqCfVGJCBJvvOiButIRMa835Xk", "name": "dummy", "type": "Endpoint", "version": "5.0.0" }
{"agent":{"groups":[],"host":{"architecture":"x86_64","hostname":"Rocket","ip":["172.28.54.98","fe80::215:5dff:feb2:94ca"],"os":{"name":"Ubuntu","platform":"Linux"}},"id":"7b565a01-8df4-4943-9fb1-6d347ab21853","name":"dummy","type":"Endpoint","version":"5.0.0"}} {"module":"logcollector","type":"file"} {"event":{"ingested":"2024-11-18T16:37:43.109Z","module":"logcollector","original":"2024-11-18T17:37:42.822166+01:00 Rocket kernel: docker0: port 1(vethb6c8536) entered disabled state","provider":"syslog"},"log":{"file":{"path":"/var/log/syslog"}},"tags":["mvp"]}
This PR aims to undo object nesting in the agent registration request.
New behavior
Agent registration
Unchanged behavior
Stateless message