Full name: projects.locations.instances.forwarders.collectors.create
Create a collector.
HTTP request
Path parameters
Parameters
parent
string
Required. The parent resource where the Collector will be created. // Format: projects/{project}/locations/{location}/instances/{instance}/forwarders/{forwarder}
Request body
The request body contains an instance of Collector.
Response body
If successful, the response body contains a newly created instance of Collector.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis API endpoint \u003ccode\u003eprojects.locations.instances.forwarders.collectors.create\u003c/code\u003e is used to create a new collector.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method is \u003ccode\u003ePOST\u003c/code\u003e to the URL \u003ccode\u003ehttps://chronicle.googleapis.com/v1alpha/{parent}/collectors\u003c/code\u003e, with the \u003ccode\u003eparent\u003c/code\u003e parameter being the location where the collector will be created.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eCollector\u003c/code\u003e instance, and if successful, the response will contain the newly created \u003ccode\u003eCollector\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eCreating a collector requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003echronicle.collectors.create\u003c/code\u003e on the \u003ccode\u003eparent\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]