Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable date detection in index templates #3528

Merged
merged 1 commit into from
Feb 5, 2017
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
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ https://github.com/elastic/beats/compare/v5.1.1...master[Check the HEAD diff]
- Add the option to pass custom HTTP headers to the Elasticsearch output. {pull}3400[3400]
- Unify `regexp` and `contains` conditionals, for both to support array of strings and convert numbers to strings if required. {pull}3469[3469]
- Add the option to load the sample dashboards during the Beat startup phase. {pull}3506[3506]
- Disabled date detection in Elasticsearch index templates. Date fields must be explicitly defined in index templates. {pull}3528[3528]

*Metricbeat*

Expand Down
1 change: 1 addition & 0 deletions filebeat/filebeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions filebeat/filebeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions heartbeat/heartbeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions heartbeat/heartbeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions libbeat/scripts/generate_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def fields_to_es_template(args, input, output, index, version):
},
"mappings": {
"_default_": {
"date_detection": False,
"properties": {},
"_meta": {
"version": version,
Expand Down
1 change: 1 addition & 0 deletions metricbeat/metricbeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions metricbeat/metricbeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions packetbeat/packetbeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions packetbeat/packetbeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions winlogbeat/winlogbeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down
1 change: 1 addition & 0 deletions winlogbeat/winlogbeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"_meta": {
"version": "6.0.0-alpha1"
},
"date_detection": false,
"dynamic_templates": [
{
"strings_as_keyword": {
Expand Down