From 4266467dbd58d4177bd0640f282e8760e16f6de9 Mon Sep 17 00:00:00 2001 From: cfsdocs Date: Wed, 27 Jan 2021 17:18:39 +0000 Subject: [PATCH] Kersten J Richter: Update at-events.md --- at-events.md | 123 +++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 62 deletions(-) diff --git a/at-events.md b/at-events.md index 68c6fc78..ea8872bf 100644 --- a/at-events.md +++ b/at-events.md @@ -1,9 +1,9 @@ --- copyright: years: 2021 -lastupdated: "2021-01-22" +lastupdated: "2021-01-27" -keywords: events, serverless, codeengine, activity tracker +keywords: events, serverless, code engine, activity tracker subcollection: codeengine @@ -110,7 +110,7 @@ The following list of {{site.data.keyword.codeenginefull}} events is sent to {{s ## List of events from IBM Cloud console and CLI actions The following events are generated when an initiator interacts with the {{site.data.keyword.codeenginefull_notm}} console and CLI or with the `kubectl` and `kn` commands. -### project events +### Project events @@ -128,7 +128,7 @@ The following events are generated when an initiator interacts with the {{site.d - + @@ -145,7 +145,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.project.readGet or list projects.Get information about or list projects.
codeengine.project.update
-### application events +### Application events @@ -159,11 +159,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -180,7 +180,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.application.createCreate an application in project.Create an application in a project.
codeengine.application.readGet an application.Get information about an application.
codeengine.application.list
-### configmap events +### Configmap events @@ -193,11 +193,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -214,7 +214,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.configmap.createCreate a configmap in project.Create a configmap in a project.
codeengine.configmap.readGet a configmap.Get information about a configmap.
codeengine.configmap.list
-### secret events +### Secret events @@ -227,11 +227,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -248,7 +248,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.secret.createCreate a secret in project.Create a secret in a project.
codeengine.secret.readGet a secret.Get information about a secret.
codeengine.secret.list
-### build and build run events +### Build and build run events @@ -261,11 +261,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -281,11 +281,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -298,7 +298,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.build.createCreate a build in project.Create a build in a project.
codeengine.build.readGet a build.Get information about a build.
codeengine.build.list
codeengine.buildrun.createSubmit a build run in project.Submit a build run in a project.
codeengine.buildrun.readGet a build run.Get information about a build run.
codeengine.buildrun.list
-### job and job run events +### Job and job run events @@ -311,11 +311,11 @@ The following events are generated when an initiator interacts with the {{site.d - + - + @@ -335,7 +335,7 @@ The following events are generated when an initiator interacts with the {{site.d - + @@ -348,7 +348,7 @@ The following events are generated when an initiator interacts with the {{site.d
codeengine.job.createCreate a job in project.Create a job in a project.
codeengine.job.readGet a job.Get information about a job.
codeengine.job.list
codeengine.jobrun.readGet a job run.Get information about a job run.
codeengine.jobrun.list
-### subscription events +### Subscription events @@ -361,23 +361,23 @@ The following events are generated when an initiator interacts with the {{site.d - + - + - + - + - +
codeengine.subscription.createCreate an event source in project.Create subscription in a project.
codeengine.subscription.readGet a event source.Get information about a subscription.
codeengine.subscription.listList event sources.List subscriptions.
codeengine.subscription.updateUpdate an event source.Update a subscription.
codeengine.subscription.deleteDelete one or more event sources.Delete one or more subscriptions.
@@ -385,7 +385,7 @@ The following events are generated when an initiator interacts with the {{site.d ## List of events from `kubectl` and `kn` commands The following events are generated when an initiator interacts with the `kubectl` and `kn` commands. -### `pods` events +### Pod events @@ -399,28 +399,28 @@ The following events are generated when an initiator interacts with the `kubectl - + - + - + - + - +
codeengine.pods.createCreate a `pod` in project.Create a pod in a project.
codeengine.pods.readGet a `pod`.Get information about a pod.
codeengine.pods.listList `pods`.List pods.
codeengine.pods.updateUpdate a `pod`.Update a pod.
codeengine.pods.deleteDelete a `pod`.Delete a pod.
-### `serviceaccounts` events +### Service account events @@ -434,16 +434,16 @@ The following events are generated when an initiator interacts with the `kubectl - + - +
codeengine.serviceaccounts.readGet a `serviceaccount`.Get information about a service account.
codeengine.serviceaccounts.listList `serviceaccounts`.List service accounts.
-### `events` events +### Event events @@ -457,17 +457,17 @@ The following events are generated when an initiator interacts with the `kubectl - + - +
codeengine.events.readGet an `event`.Get information about an event.
codeengine.events.listList `events`.List events.
-### `resourcequotas` events +### Resource quota events @@ -481,17 +481,17 @@ The following events are generated when an initiator interacts with the `kubectl - + - +
codeengine.resourcequotas.readGet a `resourcequota`.Get informnation about a resource quota.
codeengine.resourcequotas.listList `resourcequotas`.List resource quotas.
-### `limitranges` events +### Limit range events @@ -505,16 +505,16 @@ The following events are generated when an initiator interacts with the `kubectl - + - +
codeengine.limitranges.readGet a `limitrange`.Get information about a limit range.
codeengine.limitranges.listList `limitranges`.List limit ranges.
-### `deployments` events +### Deployment events @@ -528,17 +528,17 @@ The following events are generated when an initiator interacts with the `kubectl - + - +
codeengine.deployments.readGet a `deployment`.Get information about a deployment.
codeengine.deployments.listList `deployments`.List deployments.
-### `servicebindings` events +### Service binding events @@ -552,43 +552,42 @@ The following events are generated when an initiator interacts with the `kubectl - + - + - + - + - +
codeengine.servicebindings.createCreate a `servicebinding` in project.Create a service binding in a project.
codeengine.servicebindings.readGet a `servicebinding`.Get information about a service binding.
codeengine.servicebindings.listList `servicebindings`.List service bindings.
codeengine.servicebindings.updateUpdate a `servicebinding`.Update a service binding.
codeengine.servicebindings.deleteDelete a `servicebinding`.Delete a service binding.
Note: -- Update event does not include original value, it only includes new value provided in request body. To get original value, you can run read action before update action. -- `requestData` includes request body and verb of action. -- `responseData` includes response body of action. -- For some actions, for example `codeengine.pods.list` or `codeengine.pods.get` actions, the event length may exceeds 16K, so we will set `responseData` to `Information about the action is not included for performance and size reasons.` if message length exceeds 16K. - +- The update event does not include the original value; it includes only the new value that is provided in request body. To find the original value, you can run read action before you run the update action. +- The `requestData` field includes request body and verb of action. +- The `responseData` field includes response body of action. +- For some actions, for example `codeengine.pods.list` or `codeengine.pods.get` actions, the event length may exceed 16 K. If this event length occurs, the `responseData` field is set to `Information about the action is not included for performance and size reasons.` ## Viewing events {: #view} -{{site.data.keyword.codeenginefull_notm}} sends audit logs to the [{{site.data.keyword.at_full_notm}}](/docs/Activity-Tracker-with-LogDNA?topic=Activity-Tracker-with-LogDNA-getting-started) service of the same region as the {{site.data.keyword.codeenginefull_notm}} project. For example, audit logs of an {{site.data.keyword.codeenginefull_notm}} project in `us-south` are sent to a LogDNA instance in `us-south`. For more information about setting up {{site.data.keyword.at_full_notm}}, see [Provisioning an instance](/docs/Activity-Tracker-with-LogDNA?topic=Activity-Tracker-with-LogDNA-provision). +{{site.data.keyword.codeenginefull_notm}} sends audit logs to the [{{site.data.keyword.at_full_notm}}](/docs/Activity-Tracker-with-LogDNA?topic=Activity-Tracker-with-LogDNA-getting-started) service in the same region as the {{site.data.keyword.codeenginefull_notm}} project. For example, audit logs in a {{site.data.keyword.codeenginefull_notm}} project in `us-south` are sent to a LogDNA instance in `us-south`. For more information about setting up {{site.data.keyword.at_full_notm}}, see [Provisioning an instance](/docs/Activity-Tracker-with-LogDNA?topic=Activity-Tracker-with-LogDNA-provision). ## Analyzing events {: #at_events_analyze} -After viewing events that are captured by {{site.data.keyword.at_full_notm}}, you can then analyze the events. +After you view events that are captured by {{site.data.keyword.at_full_notm}}, you can then analyze the events. {: shortdesc} **Identifying the {{site.data.keyword.codeengineshort}} project that generates the event**.