Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use _doc in metricbeat export template test
  • Loading branch information
urso committed Nov 27, 2018
1 parent 222ffaf commit 847c1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/tests/system/test_template.py
Expand Up @@ -42,7 +42,7 @@ def test_export_template(self):

t = json.loads(template_content)

properties = t["mappings"]["doc"]["properties"]
properties = t["mappings"]["_doc"]["properties"]

# Check libbeat fields
assert properties["@timestamp"] == {"type": "date"}
Expand Down

0 comments on commit 847c1c6

Please sign in to comment.