Skip to content

Commit 638b8e5

Browse files
authored
Update index.html.markdown
Update Common Source Properties to include missing block information for "filters" and "default_date_formats" properties.
1 parent c65f063 commit 638b8e5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

website/docs/index.html.markdown

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,14 @@ The following properties are common to ALL sources and can be used to configure
124124
- `use_autoline_matching` - (Optional) Type true to enable if you'd like message boundaries to be inferred automatically; type false to prevent message boundaries from being automatically inferred (equivalent to the Infer Boundaries option in the UI). The default setting is true.
125125
- `manual_prefix_regexp` - (Optional) When using useAutolineMatching=false, type a regular expression that matches the first line of the message to manually create the boundary. Note that any special characters in the regex, such as backslashes or double quotes, must be escaped.
126126
- `force_timezone` - (Optional) Type true to force the source to use a specific time zone, otherwise type false to use the time zone found in the logs. The default setting is false.
127-
- `default_date_formats` - (Optional) Define formats for the dates present in your log messages. You can specify a locator regex to identify where timestamps appear in log lines.
128-
- `filters` - (Optional) If you'd like to add a filter to the source, type the name of the filter (Exclude, Include, Mask, Hash, or Forward.
127+
- `default_date_formats` - (Optional) Define the format for the timestamps present in your log messages. You can specify a locator regex to identify where timestamps appear in log lines. Requires 'automatic_date_parsing' set to True.
128+
+ `format` - (Required) The timestamp format supplied as a Java SimpleDateFormat, or "epoch" if the timestamp is in epoch format.
129+
+ `locator` - (Optional) Regular expression to locate the timestamp within the messages.
130+
- `filters` - (Optional) If you'd like to add a filter to the source.
131+
+ `filter_type` - (Required) They type of filter to apply. (Exclude, Include, Mask, or Hash)
132+
+ `name` - (Required) The Name for the filter.
133+
+ `regexp` - (Required) Regular expression to match within the messages. When used with Incude/Exclude the expression must match the entire message.
134+
+ `mask` - (Optional) When applying a Mask rule, replaces the detected expression with this string.
129135
- `cutoff_timestamp` - (Optional) Only collect data more recent than this timestamp, specified as milliseconds since epoch (13 digit).
130136
- `cutoff_relative_time` - (Optional) Can be specified instead of cutoffTimestamp to provide a relative offset with respect to the current time. Example: use -1h, -1d, or -1w to collect data that's less than one hour, one day, or one week old, respectively.
131137
- `fields` - (Optional) Map containing key/value pairs.

0 commit comments

Comments
 (0)