Browse Source

Rename `datastream` to `data_stream`. (#60658)

The name of the feature having a space: "data stream", the key should
have an underscore.
Adrien Grand 5 years ago
parent
commit
c78b43277e

+ 1 - 1
x-pack/plugin/core/src/main/resources/logs-mappings.json

@@ -31,7 +31,7 @@
             }
           }
         },
-        "datastream": {
+        "data_stream": {
           "properties": {
             "type": {
               "type": "constant_keyword",

+ 1 - 1
x-pack/plugin/core/src/main/resources/metrics-mappings.json

@@ -31,7 +31,7 @@
             }
           }
         },
-        "datastream": {
+        "data_stream": {
           "properties": {
             "type": {
               "type": "constant_keyword",