Updated config example file

This commit is contained in:
Trial97
2020-10-30 08:33:38 +02:00
committed by Dan Christian Bogos
parent ae6f6dfed4
commit e037ce9076

View File

@@ -386,22 +386,7 @@
// "synchronous": false, // block processing until export has a result
// "attempts": 1, // export attempts
// "field_separator": ",", // separator used in case of csv files
// "fields":[ // import fields template, tag will match internally CDR field, in case of .csv value will be represented by index of the field value
// {"tag": "CGRID", "path": "*exp.CGRID", "type": "*variable", "value": "~*req.CGRID"},
// {"tag": "RunID", "path": "*exp.RunID", "type": "*variable", "value": "~*req.RunID"},
// {"tag": "ToR", "path": "*exp.ToR", "type": "*variable", "value": "~*req.ToR"},
// {"tag": "OriginID", "path": "*exp.OriginID", "type": "*variable", "value": "~*req.OriginID"},
// {"tag": "RequestType", "path": "*exp.RequestType", "type": "*variable", "value": "~*req.RequestType"},
// {"tag": "Tenant", "path": "*exp.Tenant", "type": "*variable", "value": "~*req.Tenant"},
// {"tag": "Category", "path": "*exp.Category", "type": "*variable", "value": "~*req.Category"},
// {"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
// {"tag": "Subject", "path": "*exp.Subject", "type": "*variable", "value": "~*req.Subject"},
// {"tag": "Destination", "path": "*exp.Destination", "type": "*variable", "value": "~*req.Destination"},
// {"tag": "SetupTime", "path": "*exp.SetupTime", "type": "*variable", "value": "~*req.SetupTime", "layout": "2006-01-02T15:04:05Z07:00"},
// {"tag": "AnswerTime", "path": "*exp.AnswerTime", "type": "*variable", "value": "~*req.AnswerTime", "layout": "2006-01-02T15:04:05Z07:00"},
// {"tag": "Usage", "path": "*exp.Usage", "type": "*variable", "value": "~*req.Usage"},
// {"tag": "Cost", "path": "*exp.Cost", "type": "*variable", "value": "~*req.Cost{*round:4}"},
// ],
// "fields":[], // import fields template, tag will match internally CDR field, in case of .csv value will be represented by index of the field value
// },
// ],
// },
@@ -870,7 +855,7 @@
// "redis_cluster": false,
// "redis_cluster_sync": "5s",
// "redis_cluster_ondown_delay": "0",
// "redis_tls": false, // if true it will use a tls connection and use the redis_client_certificate, redis_client_key and redis_ca_certificate for tls connection
// "redis_tls": false, // enable TLS when connecting to Redis and use the redis_client_certificate, redis_client_key and redis_ca_certificate for TLS connection
// "redis_client_certificate":"", // path to client certificate
// "redis_client_key":"", // path to client key
// "redis_ca_certificate":"", // path to CA certificate (populate for self-signed certificate otherwise let it empty)
@@ -898,8 +883,12 @@
// },
// "analyzers":{ // AnalyzerS config
// "enabled":false // starts AnalyzerS service: <true|false>.
// "analyzers":{ // AnalyzerS config
// "enabled": false, // starts AnalyzerS service: <true|false>.
// "db_path": "/var/spool/cgrates/analyzers", // path to the folder where to store the information
// "index_type": "*scorch", // the type of index for the storage: <*scorch|*boltdb|*leveldb|*mossdb>
// "ttl": "24h", // time to wait before removing the API capture
// "cleanup_interval": "1h", // the interval we clean the db
// },