mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 13:19:53 +05:00
84 lines
1.5 KiB
JSON
84 lines
1.5 KiB
JSON
{
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
"node_id": "TestFailCDRS",
|
|
"poster_attempts": 1,
|
|
"failed_posts_ttl": "1s",
|
|
"failed_posts_dir": "/tmp/failed_posts"
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"attributes_conns":["*internal"],
|
|
"chargers_conns":["*localhost"],
|
|
"rates_conns": ["*localhost"],
|
|
"stats_conns": ["*localhost"],
|
|
"thresholds_conns": ["*localhost"],
|
|
"online_cdr_exports": ["s3_test_file"],
|
|
"ees_conns": ["*localhost"]
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true
|
|
},
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
"thresholds_conns": ["*internal"]
|
|
},
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "1s"
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"]
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"ees": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
"exporters": [
|
|
{
|
|
"id": "s3_test_file",
|
|
"type": "*s3JSONMap",
|
|
"export_path": "http://s3.us-east-2.amazonaws.com/",
|
|
"opts": {
|
|
"awsRegion": "eu-west-2",
|
|
"awsKey": "testkey",
|
|
"awsSecret": "testsecret",
|
|
"s3BucketID": "cgrates-cdrs"
|
|
},
|
|
"attempts": 1,
|
|
"failed_posts_dir": "/tmp/failed_posts",
|
|
"fields":[
|
|
{"tag": "*originID", "path": "*exp.*originID", "type": "*variable", "value": "~*opts.*originID"}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
"loaders": [
|
|
{
|
|
"id": "*default",
|
|
"enabled": true,
|
|
"tenant": "cgrates.org",
|
|
"lockfile_path": ".cgr.lck",
|
|
"tp_in_dir": "/usr/share/cgrates/tariffplans/testit",
|
|
"tp_out_dir": ""
|
|
}
|
|
]
|
|
}
|