From 09975377cdfb95eaf10bd18bc9eb3c4ba0864c8a Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Tue, 5 May 2020 03:45:34 -0700 Subject: [PATCH] Updated Bulk Import Services (markdown) --- Bulk-Import-Services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bulk-Import-Services.md b/Bulk-Import-Services.md index 162027f..a3312f7 100644 --- a/Bulk-Import-Services.md +++ b/Bulk-Import-Services.md @@ -1,6 +1,6 @@ You can import multiple services when Statping first loads by creating a file named [service.yml](https://github.com/statping/statping/wiki/services.yml) in the working directory for Statping. It will insert the new service into the database, and will not be re-added on reboot. All services must be an array under the `services:` field. -## Custom Yaml +## Dynamic Yaml With Yaml, you can insert "anchors" to make receptive fields simple! Checkout the example below. The `&tcpservice` anchor will return all the fields belonging to `x-tcpservice:`. To reuse these fields for each service, you can insert `<<: *tcpservice` and thats it! ```yaml