Files
TxSearchApi/SearchWebApi/appsettings.json
2021-10-12 16:42:24 +02:00

43 lines
998 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information"
}
},
"ElasticApm":
{
"ServerUrl": "http://192.168.178.44:8200",
"SecretToken": "",
"ServiceName": "TxSearchApi",
"Environment": "Development",
"CaptureBody": "all"
},
"AllowedHosts": "*",
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"System": "Information",
"Microsoft": "Information"
}
},
"WriteTo": [
{
"Name": "Elasticsearch",
"Args": {
"nodeUris": "http://192.168.178.44:9200",
"indexFormat": "TextorSearchLoggingIndex-{0:yyyy.MM}",
"autoRegisterTemplate": true,
"autoRegisterTemplateVersion": "ESv7",
"registerTemplateFailure": "IndexAnyway"
}
}
],
"Enrich": ["FromLogContext", "WithMachineName", "WithProcessId", "WithProcessName"],
"Properties": {
"Appname": "TxSearchApi",
"Environment": "Production"
}
}
}