Elasticsearch: Fix modify query with backslashes (#79430)

* Elasticsearch: Fix modify query with backslashes

* add test devenv
This commit is contained in:
Sven Grossmann
2023-12-13 14:07:46 +01:00
committed by GitHub
parent 91836e7832
commit db7fa30384
3 changed files with 14 additions and 3 deletions
+2 -1
View File
@@ -149,7 +149,8 @@ function getRandomLogItem(counter, timestamp) {
hostname: chooseRandomElement(['hostname1', 'hostname2', 'hostname3', 'hostname4', 'hostname5', 'hostname6']),
value: counter,
metric: chooseRandomElement(['cpu', 'memory', 'latency']),
description: "this is description"
description: "this is description",
slash: "Access to the path '\\\\tkasnpo\\KASNPO\\Files\\contacts.xml' is denied."
};
}