Skip to content

Commit

Permalink
Remove convert_timezone option
Browse files Browse the repository at this point in the history
Apply elastic#12410 to the rest of modules.
  • Loading branch information
jsoriano committed Jun 6, 2019
1 parent aae123e commit 0dc3e72
Show file tree
Hide file tree
Showing 47 changed files with 4 additions and 259 deletions.
10 changes: 0 additions & 10 deletions filebeat/docs/include/var-convert-timezone.asciidoc

This file was deleted.

2 changes: 1 addition & 1 deletion filebeat/docs/modules/kafka.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

include::../include/var-convert-timezone.asciidoc[]
include::../include/timezone-support.asciidoc[]

:has-dashboards!:

Expand Down
5 changes: 1 addition & 4 deletions filebeat/docs/modules/rabbitmq.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

:default_convert_timezone: true

include::../include/var-convert-timezone.asciidoc[]
include::../include/timezone-support.asciidoc[]

:has-dashboards!:

:fileset_ex!:
:default_convert_timezone!:

:modulename!:

Expand Down
22 changes: 0 additions & 22 deletions filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ filebeat.modules:
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

gc:
enabled: true
# Set custom paths for the log files. If left empty,
Expand All @@ -101,28 +98,18 @@ filebeat.modules:
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

slowlog:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

deprecation:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false


#------------------------------- Haproxy Module -------------------------------
- module: haproxy
# All logs
Expand Down Expand Up @@ -214,9 +201,6 @@ filebeat.modules:
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

#-------------------------------- Kibana Module --------------------------------
- module: kibana
# All logs
Expand Down Expand Up @@ -308,9 +292,6 @@ filebeat.modules:
# can be added under this section.
#input:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

# Error logs
#error:
#enabled: true
Expand All @@ -323,9 +304,6 @@ filebeat.modules:
# can be added under this section.
#input:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

#------------------------------- Osquery Module -------------------------------
- module: osquery
result:
Expand Down
13 changes: 0 additions & 13 deletions filebeat/module/elasticsearch/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

gc:
enabled: true
# Set custom paths for the log files. If left empty,
Expand All @@ -22,24 +19,14 @@
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

slowlog:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

deprecation:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

2 changes: 0 additions & 2 deletions filebeat/module/elasticsearch/audit/config/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ paths:
{{ end }}
exclude_files: [".gz$"]

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/elasticsearch/audit/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ var:
- c:/ProgramData/Elastic/Elasticsearch/logs/*_access.log
- c:/ProgramData/Elastic/Elasticsearch/logs/*_audit.log
- c:/ProgramData/Elastic/Elasticsearch/logs/*_audit.json
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline:
- ingest/pipeline.json
Expand Down
3 changes: 0 additions & 3 deletions filebeat/module/elasticsearch/deprecation/config/log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ multiline:
negate: true
match: after

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}

7 changes: 0 additions & 7 deletions filebeat/module/elasticsearch/deprecation/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ var:
os.windows:
- c:/ProgramData/Elastic/Elasticsearch/logs/*_deprecation.log
- c:/ProgramData/Elastic/Elasticsearch/logs/*_deprecation.json
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline:
- ingest/pipeline.json
Expand Down
2 changes: 0 additions & 2 deletions filebeat/module/elasticsearch/server/config/log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ multiline:
negate: true
match: after

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}

7 changes: 0 additions & 7 deletions filebeat/module/elasticsearch/server/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ var:
os.windows:
- c:/ProgramData/Elastic/Elasticsearch/logs/*.log
- c:/ProgramData/Elastic/Elasticsearch/logs/*_server.json
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline:
- ingest/pipeline.json
Expand Down
2 changes: 0 additions & 2 deletions filebeat/module/elasticsearch/slowlog/config/slowlog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ multiline:
negate: true
match: after

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/elasticsearch/slowlog/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ var:
- c:/ProgramData/Elastic/Elasticsearch/logs/*_index_indexing_slowlog.log
- c:/ProgramData/Elastic/Elasticsearch/logs/*_index_search_slowlog.json
- c:/ProgramData/Elastic/Elasticsearch/logs/*_index_indexing_slowlog.json
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline:
- ingest/pipeline.json
Expand Down
3 changes: 0 additions & 3 deletions filebeat/module/kafka/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false
2 changes: 1 addition & 1 deletion filebeat/module/kafka/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ include::../include/config-option-intro.asciidoc[]

include::../include/var-paths.asciidoc[]

include::../include/var-convert-timezone.asciidoc[]
include::../include/timezone-support.asciidoc[]

:has-dashboards!:

Expand Down
2 changes: 0 additions & 2 deletions filebeat/module/kafka/log/config/log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ multiline:
pattern: '^\['
negate: true
match: after
{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/kafka/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ var:
- "{{.kafka_home}}/logs/server.log*"
- "{{.kafka_home}}/logs/state-change.log*"
- "{{.kafka_home}}/logs/kafka-*.log*"
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline: ingest/pipeline.json
input: config/log.yml
6 changes: 0 additions & 6 deletions filebeat/module/logstash/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

# Slow logs
slowlog:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false
2 changes: 0 additions & 2 deletions filebeat/module/logstash/log/config/log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ multiline:
match: after
{{ end }}

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/logstash/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ var:
- /var/log/logstash/logstash-{{.format}}*.log
os.windows:
- c:/programdata/logstash/logs/logstash-{{.format}}*.log
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline: ingest/pipeline-{{.format}}.json
input: config/log.yml
2 changes: 0 additions & 2 deletions filebeat/module/logstash/slowlog/config/slowlog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ paths:
{{ end }}
exclude_files: [".gz$"]

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/logstash/slowlog/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ var:
- /var/log/logstash/logstash-slowlog-{{.format}}*.log
os.windows:
- c:/programdata/logstash/logs/logstash-slowlog-{{.format}}*.log
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline: ingest/pipeline-{{.format}}.json
input: config/slowlog.yml
6 changes: 0 additions & 6 deletions filebeat/module/nginx/_meta/config.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# can be added under this section.
#input:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false

# Error logs
#error:
#enabled: true
Expand All @@ -25,6 +22,3 @@
# Input configuration (advanced). Any input configuration option
# can be added under this section.
#input:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: false
6 changes: 0 additions & 6 deletions filebeat/module/nginx/_meta/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,10 @@
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: true

# Error logs
error:
enabled: true

# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths:

# Convert the timestamp to UTC. Requires Elasticsearch >= 6.1.
#var.convert_timezone: true
2 changes: 0 additions & 2 deletions filebeat/module/nginx/access/config/nginx-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ paths:
{{ end }}
exclude_files: [".gz$"]

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
7 changes: 0 additions & 7 deletions filebeat/module/nginx/access/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ var:
- /usr/local/var/log/nginx/access.log*
os.windows:
- c:/programdata/nginx/logs/*access.log*
- name: convert_timezone
default: false
# if ES < 6.1.0, this flag switches to false automatically when evaluating the
# pipeline
min_elasticsearch_version:
version: 6.1.0
value: false

ingest_pipeline: ingest/default.json
input: config/nginx-access.yml
Expand Down
2 changes: 0 additions & 2 deletions filebeat/module/nginx/error/config/nginx-error.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ paths:
{{ end }}
exclude_files: [".gz$"]

{{ if .convert_timezone }}
processors:
- add_locale: ~
{{ end }}
Loading

0 comments on commit 0dc3e72

Please sign in to comment.