Module Values.LogPublishingOptionSource

Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs. After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.

Sourcetype nonrec t = {
  1. cloudWatchLogsLogGroupArn : CloudWatchLogsLogGroupArn.t option;
    (*

    The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.

    *)
  2. enabled : Boolean.t option;
    (*

    Whether the log should be published.

    *)
}
Sourceval make : ?cloudWatchLogsLogGroupArn:??? -> ?enabled:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of CloudWatchLogsLogGroupArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t