/:teamId/logs/count
GET
- Operation ID: teamLogs-count
- Summary: Count daily logs for a team
- Description: Gets a daily aggreagtion of logs for a given team.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
teamId | path | true | string | ID of the team that the logs belongs to. |
metric | query | true | string |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "number"
},
"date": {
"type": "string"
}
},
"required": [
"count",
"date"
],
"additionalProperties": false
}
}
default:
- Description:
/:teamId/logs/total
GET
- Operation ID: teamLogs-total
- Summary: Total log count for a team
- Description: Gets the total of all logs collected and held in Moonbase.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
teamId | path | true | string | ID of the team that the logs belongs to. |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "object",
"properties": {
"count": {
"type": "string"
}
},
"required": [
"count"
],
"additionalProperties": false
}
default:
- Description:
/:teamId/logs/total/usage
GET
- Operation ID: teamLogs-usageTotal
- Summary: Total log usage for a team
- Description: Gets the total in bytes of all logs collected and held in Moonbase.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
teamId | path | true | string | ID of the team that the logs belongs to. |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "object",
"properties": {
"usage": {
"type": "string"
}
},
"required": [
"usage"
],
"additionalProperties": false
}
default:
- Description:
/projects/:id/total/usage
GET
- Operation ID: projectLogs-usageTotal
- Summary: Total Log Usage
- Description: Gets the total in bytes of all logs collected and held in Moonbase.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id | path | true | string | ID of the project that the logs belongs to. |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "object",
"properties": {
"usage": {
"type": "string"
}
},
"required": [
"usage"
],
"additionalProperties": false
}
default:
- Description:
/projects/:id/logs/total/interval
GET
- Operation ID: projectLogs-interval
- Summary: Total Log Usage
- Description: Gets the occurrence of logs across a timeline, grouped by date interval.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
rel | query | false | string | |
start | query | false | string | |
end | query | false | string | |
q | query | false | undefined | A search query to find logs by. |
id | path | true | string | The ID of the project that the logs belong to. |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"other": {
"type": "number"
},
"date": {
"type": "string"
},
"error": {
"type": "number"
}
},
"required": [
"other",
"date",
"error"
],
"additionalProperties": false
}
}
default:
- Description:
/projects/:id/suggestions
GET
- Operation ID: projectLogs-suggestions
- Summary: Active log suggestions
- Description: Gets active log suggestion paths across the team. Used for suggestions in the query builder.
Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
term | query | true | string | Gets a list of columns that match a search term. Limited to 10. |
id | path | true | string | The ID of the project that the logs belong to. |
Responses
200:
- Description: Successful response
Content
application/json:
{
"type": "array",
"items": {
"type": "string"
},
"description": "The list of suggestions."
}
default:
- Description: