Lines Matching defs:params

33      * $params['lines_to_sample']       = (int) How many lines of the file should be included in the analysis (Default = 1000)
34 * $params['line_merge_size_limit'] = (int) Maximum number of characters permitted in a single message when lines are merged to create messages. (Default = 10000)
35 * $params['timeout'] = (time) Timeout after which the analysis will be aborted (Default = 25s)
36 * $params['charset'] = (string) Optional parameter to specify the character set of the file
37 * $params['format'] = (enum) Optional parameter to specify the high level file format (Options = ndjson,xml,delimited,semi_structured_text)
38 * $params['has_header_row'] = (boolean) Optional parameter to specify whether a delimited file includes the column names in its first row
39 * $params['column_names'] = (list) Optional parameter containing a comma separated list of the column names for a delimited file
40 * $params['delimiter'] = (string) Optional parameter to specify the delimiter character for a delimited file - must be a single character
41 * $params['quote'] = (string) Optional parameter to specify the quote character for a delimited file - must be a single character
42 * $params['should_trim_fields'] = (boolean) Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them
43 * $params['grok_pattern'] = (string) Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file
44 * $params['timestamp_field'] = (string) Optional parameter to specify the timestamp field in the file
45 * $params['timestamp_format'] = (string) Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format
46 * $params['explain'] = (boolean) Whether to include a commentary on how the structure was derived (Default = false)
47 * $params['body'] = (array) The contents of the file to be analyzed (Required)
49 * @param array $params Associative array of parameters
53 public function findStructure(array $params = [])
55 $body = $this->extractArgument($params, 'body');
59 $endpoint->setParams($params);