You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,17 @@ The allowed values for portal_domain are ["logicmonitor.com", "lmgov.us", "qa-lm
29
29
30
30
## Important options
31
31
32
-
| Option | Description| Default |
33
-
|---|---|---|
34
-
| batch_size | Event batch size to send to LM Logs.| 100 |
35
-
| message_key | Key that will be used by the plugin as the system key | "message" |
36
-
| lm_property | Key that will be used by LM to match resource based on property | "system.hostname" |
37
-
| keep_timestamp | If false, LM Logs will use the ingestion timestamp as the event timestamp | true |
38
-
| timestamp_is_key | If true, LM Logs will use a specified key as the event timestamp | false |
39
-
| timestamp_key | If timestamp_is_key is set, LM Logs will use this key in the event as the timestamp | "logtimestamp" |
40
-
| include_metadata | If true, all metadata fields will be sent to LM Logs | false |
41
-
| include_metadata_keys | Array of json keys for which plugin looks for these keys and adds as event meatadata. A dot "." can be used to add nested subjson. If config `include_metadata` is set to true, all metadata will be sent regardless of this config. |[]|
| batch_size | Event batch size to send to LM Logs.| 100|
35
+
| message_key | Key that will be used by the plugin as the system key | "message"|
36
+
| lm_property | Key that will be used by LM to match resource based on property| "system.hostname" |
37
+
| keep_timestamp | If false, LM Logs will use the ingestion timestamp as the event timestamp | true|
38
+
| timestamp_is_key | If true, LM Logs will use a specified key as the event timestamp | false|
39
+
| timestamp_key | If timestamp_is_key is set, LM Logs will use this key in the event as the timestamp | "logtimestamp"|
40
+
| include_metadata | If true, all metadata fields will be sent to LM Logs | false|
41
+
| include_metadata_keys | Array of json keys for which plugin looks for these keys and adds as event meatadata. A dot "." can be used to add nested subjson. If config `include_metadata` is set to true, all metadata will be sent regardless of this config. |[]|
42
+
| resource_type | If a Resource Type is explicitly specified, that value will be statically applied to all ingested logs. If set to `predef.externalResourceType`, the Resource Type will be assigned dynamically based on the `predef.externalResourceType` property set for the specific resource the logs are mapped to in LM. If left blank, the Resource Type field will remain unset in the ingested logs. | "" |
43
43
See the [source code](lib/logstash/outputs/lmlogs.rb) for the full list of options
44
44
45
45
The syntax for `message_key` and `source_key` values are available in the [Logstash Event API Documentation](https://www.elastic.co/guide/en/logstash/current/event-api.html)
0 commit comments