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: lib/logstash/outputs/elasticsearch.rb
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,17 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
62
62
63
63
config_name"elasticsearch"
64
64
65
+
# The Elasticsearch action to perform. Valid actions are:
66
+
#
67
+
# - index: indexes a document (an event from Logstash).
68
+
# - delete: deletes a document by id (An id is required for this action)
69
+
# - create: indexes a document, fails if a document by that id already exists in the index.
70
+
# - update: updates a document by id. Update has a special case where you can upsert -- update a
71
+
# document if not already present. See the `upsert` option
72
+
#
73
+
# For more details on actions, check out the http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html[Elasticsearch bulk API documentation]
Copy file name to clipboardExpand all lines: lib/logstash/outputs/elasticsearch/common_configs.rb
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ def self.included(mod)
11
11
# The index type to write events to. Generally you should try to write only
12
12
# similar events to the same 'type'. String expansion `%{foo}` works here.
13
13
#
14
-
# Deprecated in favor of `document_type` field.
14
+
# Deprecated in favor of `docoument_type` field.
15
15
mod.config:index_type,:validate=>:string,:obsolete=>"Please use the 'document_type' setting instead. It has the same effect, but is more appropriately named."
16
16
17
17
# The document type to write events to. Generally you should try to write only
@@ -62,8 +62,7 @@ def self.included(mod)
62
62
# `["127.0.0.1:9200","127.0.0.2:9200"]`
63
63
# It is important to exclude http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html[dedicated master nodes] from the `hosts` list
64
64
# to prevent LS from sending bulk requests to the master nodes. So this parameter should only reference either data or client nodes in Elasticsearch.
# The Elasticsearch action to perform. Valid actions are:
95
-
#
96
-
# - index: indexes a document (an event from Logstash).
97
-
# - delete: deletes a document by id (An id is required for this action)
98
-
# - create: indexes a document, fails if a document by that id already exists in the index.
99
-
# - update: updates a document by id. Update has a special case where you can upsert -- update a
100
-
# document if not already present. See the `upsert` option
101
-
#
102
-
# For more details on actions, check out the http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html[Elasticsearch bulk API documentation]
0 commit comments