logs

Post a log entry

Optional endpoint to add a log entry via post instead as message

post/logs

Request body

servicestring required

Name of the service that spawned the log

timeStampstring required
nameSpacestring required

The kubernetes namespace that the spawning service is in

Example request

{
  "service": "MyService",
  "timeStamp": "1234567",
  "nameSpace": "dev-oih-ns",
  "payload": {
    "tenant": "12sfeasd978",
    "source": "ExampleUser",
    "object": "flow",
    "action": "createFlow",
    "subject": "ExampleFlow",
    "details": "A flow with the id ExampleFlow was created"
  }
}

Response

The newly created Log.

servicestring required

Name of the service that spawned the log

timeStampstring required
nameSpacestring required

The kubernetes namespace that the spawning service is in

Example response

{
  "service": "MyService",
  "timeStamp": "1234567",
  "nameSpace": "dev-oih-ns",
  "payload": {
    "tenant": "12sfeasd978",
    "source": "ExampleUser",
    "object": "flow",
    "action": "createFlow",
    "subject": "ExampleFlow",
    "details": "A flow with the id ExampleFlow was created"
  }
}

Changes