Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion elastic/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ The following parameters are available:
* `recovery_poll_timeout` (default: `1m`) - The maximum time to wait for additional translog operations before returning an empty result.
* `recovery_small_max_batch_size` (default: `4MB`) - The maximum estimated size for the batch of translog operations to return.
* `recovery_large_max_batch_size` (default: `32MB`) - The maximum estimated size for the batch of translog operations to return.
* `recovery_max_operations_count` (default: `16777216`) - The maximum number of translog operations to return in a single batch.
* `recovery_max_operations_count (default: `16777216`) - The maximum number of translog operations to return in a single batch.
* `patterned_text_message_field` (default: `false`) - If true use `patterned_text` for all message fields, else `match_only_text`.

### Data Download Parameters

Expand Down
8 changes: 8 additions & 0 deletions elastic/logs/templates/component/auditbeat-mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,11 @@
"type": "wildcard"
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"type": {
"ignore_above": 1024,
Expand Down Expand Up @@ -5790,7 +5794,11 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"url": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,20 @@
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"url": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,20 @@
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"url": {
"properties": {
Expand Down
8 changes: 8 additions & 0 deletions elastic/logs/templates/component/logs-kafka.log@package.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,20 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,20 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,20 @@
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"tags": {
"ignore_above": 1024,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"tags": {
"ignore_above": 1024,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"error": {
"properties": {
Expand All @@ -149,7 +153,11 @@
"type": "keyword"
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
Expand Down
8 changes: 8 additions & 0 deletions elastic/logs/templates/component/logs-redis.log@package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,20 @@
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"redis": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,20 @@
"error": {
"properties": {
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
}
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"version": {
"ignore_above": 1024,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,11 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"tags": {
"ignore_above": 1024,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,11 @@
}
},
"message": {
{% if patterned_text_message_field | default(false) is true %}
"type": "patterned_text"
{% else %}
"type": "match_only_text"
{% endif %}
},
"user": {
"properties": {
Expand Down
Loading