Module Values.CSVSource

The CSV processor parses comma-separated values (CSV) from the log events into columns. For more information about this processor including examples, see csv in the CloudWatch Logs User Guide.

Sourcetype nonrec t = {
  1. quoteCharacter : QuoteCharacter.t option;
    (*

    The character used used as a text qualifier for a single column of data. If you omit this, the double quotation mark " character is used.

    *)
  2. delimiter : Delimiter.t option;
    (*

    The character used to separate each column in the original comma-separated value log event. If you omit this, the processor looks for the comma , character as the delimiter.

    *)
  3. columns : Columns.t option;
    (*

    An array of names to use for the columns in the transformed log event. If you omit this, default column names ([column_1, column_2 ...]) are used.

    *)
  4. source : Source.t option;
    (*

    The path to the field in the log event that has the comma separated values to be parsed. If you omit this value, the whole log message is processed.

    *)
  5. destination : DestinationField.t option;
    (*

    The path to the parent field to put transformed key value pairs under. If you omit this value, the key value pairs will be placed under the root node.

    *)
}
Sourceval make : ?quoteCharacter:??? -> ?delimiter:??? -> ?columns:??? -> ?source:??? -> ?destination:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Column.t ] list | `String of QuoteCharacter.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