Create logging topic
Logging
Create logging topic
Create a new Kafka topic within the client’s LaaS namespace for the specified project and region. If a topic with the same name exists, it will be updated.
PUT
Create logging topic
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-1046.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Body
application/json
Kafka topic name to be used in log shipper config to write logs to LaaS
Required string length:
1 - 223Pattern:
^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\.[a-z0-9](?:[-a-z0-9]*[a-z0-9])*)*$Example:
"my-topic"
Index Pattern data
Example:
{ "id": "exampletopicindexpatternid" }Example:
{ "period": 45 }Size of the topic in bytes
Required range:
x >= 0Response
LaaS Kafka topic
Index Pattern data
Example:
{ "id": "exampletopicindexpatternid" }Kafka topic name to be used in log shipper config to write logs to LaaS
Example:
"my-topic"
Example:
{ "period": 45 }Size of the topic in bytes
Required range:
x >= 0