Configure Google Cloud Platform Log Collector - Alert Logic ...
文章推薦指數: 80 %
Google Cloud logs do not have host metadata and are formatted in JSON. ... The Role field authorizes your service account to access resources.
SkipToMainContent
Account
Settings
Logout
placeholder
Account
Settings
Logout
Filter:
AllFiles
SubmitSearch
Youarehere:
ConfigureGoogleCloudPlatformLogCollector
TheAlertLogicGoogleCloudPlatformcollectorisanAWS-basedAPIPoll(PAWS)logcollectorlibrarymechanismdesignedtocollectlogsfromtheGoogleCloudlogs,formerlyreferredtoasStackdriver.YoumustgenerateaGoogleAPI,applythepermissions,andthencompletetheconfigurationprocessintheAlertLogicconsole.
GoogleCloudlogsdonothavehostmetadataandareformattedinJSON.Ifyouwanttocollectsyslogs,youmustusetheAlertLogicagenttoallowAlertLogictoprocessthem.FormoreinformationabouthowtoinstalltheAlertLogicagent,seeInstalltheAlertLogicAgentforWindowsorInstalltheAlertLogicAgentforLinux
YoucanfindGoogleCloudPlatformlogscollectedwithkeywordsearchintheAlertLogicconsoleSearch: LogMessagespage.
AlthoughAlertLogicdoesnotrecommendusingaVirtualMachine(VM)instancetoforwardlogstoGoogleCloud,ifyouwanttocollectlogsfromaVM,youmustuseaGoogleloggingagent.TheGoogleloggingagentsendslogstotheVMparentprojectbydefault.Youmustoverrideandsendtoanotherproject.TolearnmoreabouttheGoogleloggingagent,seeAbouttheLoggingagent.
GenerateaGoogleAPIinGoogleCloudPlatform
IntheGoogleCloudPlatformconsole,youmustcompleteafewkeytasksforlogstobecollectedfromGoogleCloud.
YoumustgenerateaGoogleAPIkeyfile:
IntheGoogleCloudPlatformconsole,onthesidepanel,clickIAM&admin,andthenclickServiceaccounts.
ClickCREATESERVICEACCOUNT.
IntheServiceaccountnamefield,enteraname.
(Optional)IntheServiceaccountdescriptionfield,andadescription.
ClickCREATE.
FromtheSelectaroledrop-downlist,selectLogging,andthenPrivateLogsViewer.
ClickContinue.
(Optional)Grantuserpermissionsifnecessary,andthenclickDONE.TheRolefieldauthorizesyourserviceaccounttoaccessresources.YoucanviewandchangethisfieldlaterintheGoogleCloudPlatformconsole.Ifyouaredevelopingaproductionapp,specifymoregranularpermissionsthanPrivateLogsViewer.Formoreinformation,seegrantingrolestoserviceaccounts.
UnderActions,clicktheicon,andthenclickCreatekey.
SelectJSON,andthenclickCreate.AJSONfilethatcontainsyourkeydownloadstoyourcomputer.NotethelocationofJSONfile,whichyouwillneedlater.
ConfiguringcollectionfromtheAlertLogicconsole
AfteryougenerateyourJSONkey,youmustcompletethelogconfigurationprocessintheAlertLogicconsole.Thisconfigurationisanaccount-levelintegration,whichmeansyoucanconfiguremorethanoneinstanceofGoogleCloudcollection.Thiscapabilityisusefulwhenmorethanoneinstanceoftheapplicationexists.
ToaccesstheApplicationRegistrypage,clickthemenuicon()fromtheDashboardspage.ClickConfigure,andthenclickApplicationRegistry.
Toaddanewapplicationcollection:
IntheApplicationRegistryclicktheGoogleCloudtile,andthenclickGoogleCloudPlatform.
IntheApplicationNamefield,enteranameforthisGoogleCloudcollectioninstance.
UnderCollectionMethodandPolicy,intheResourceidentifiersfield,enterGoogleresourcesfromwhichyouwanttopolllogs.Eachelementmustfollowtheformat
延伸文章資訊
- 1Google Cloud Audit Logs - IBM QRadar
The IBM QRadar DSM for Google Cloud Audit Logs collects JSON events from a Google Cloud service.
- 2Google Cloud's operations suite
I'm a product manager with Cloud Logging and wanted to share the news that we've added several .....
- 3@google-cloud/logging - npm
Google Cloud Logging allows you to store, search, analyze, monitor, and alert on log data and eve...
- 4Stackdriver Logging - Google Cloud
A log is a named collection of entries. Logs can be produced by Google Cloud Platform services, b...
- 5Configure Google Cloud Platform Log Collector - Alert Logic ...
Google Cloud logs do not have host metadata and are formatted in JSON. ... The Role field authori...