tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ElasticsearchConfiguration.cs
Go to the documentation of this file.
2 {
6 public sealed class ElasticsearchConfiguration
7 {
11 public const string Section = "Elasticsearch";
12
16 const string DefaultHost = "http://127.0.0.1:9200"; // localhost
17
21 const string DefaultUsername = "my_username";
22
26 const string DefaultPassword = "my_password";
27
31 public bool Enable { get; set; }
32
36 public string Host { get; set; } = DefaultHost;
37
41 public string Username { get; set; } = DefaultUsername;
42
46 public string Password { get; set; } = DefaultPassword;
47 }
48}
Configuration options pertaining to elasticsearch log storage.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the ElasticsearchConfigurati...