{
// CGRateS Configuration file


"general": {
	"reply_timeout": "30s",
},

"logger": {
	"level": 7
},

"listen": {
	"rpc_json": ":2012",
	"rpc_gob": ":2013",
	"http": ":2080",
},


"db": {
	"db_conns": {
		"*default": {
			"db_type": "mongo",
			"db_host": "127.0.0.1",	
			"db_port": 27017,
			"db_name": "10",
			"db_user": "cgrates"
		},
		"StorDB": {						
			"db_type": "mongo",		
			"db_host": "127.0.0.1",	
			"db_port": 27017,
			"db_name": "cgrates",
			"db_user": "cgrates"
		},
	},
	"items": {
		"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
	}
},

"cdrs": {
	"enabled": true,
},


"chargers": {
	"enabled": true,
	"attributes_conns": ["*internal"],
},


"resources": {
	"enabled": true,
	"store_interval": "1s",
	"thresholds_conns": ["*internal"]
},


"stats": {
	"enabled": true,
	"store_interval": "1s",
	"thresholds_conns": ["*internal"],
},


"thresholds": {
	"enabled": true,
	"store_interval": "1s",
},


"routes": {
	"enabled": true,
	"stats_conns": ["*localhost"],
	"resources_conns": ["*localhost"],
	"rates_conns": ["*internal"],
},


"attributes": {
	"enabled": true,
	"stats_conns": ["*localhost"],
	"resources_conns": ["*localhost"],
	"accounts_conns": ["*localhost"]
},


"sessions": {
	"enabled": true,
	"rates_conns": ["*internal"],
	"cdrs_conns": ["*internal"],
	"chargers_conns": ["*internal"],
},


"migrator": {
	"out_datadb_type": "mongo",
	"out_datadb_port": "27017",
	"out_datadb_name": "10",

	"users_filters":["Account"],
},


"admins": {
	"enabled": true,
},


"rates": {
	"enabled": true
},

"loaders": [
	{
		"enabled":true,
		"id": "*default",
		"tenant": "cgrates.org",
		"tp_in_dir": "/usr/share/cgrates/tariffplans/tutorial",
		"tp_out_dir": "",
		"lockfile_path": "",
	},
],

"filters": {								
	"accounts_conns": ["*internal"],
},

"accounts": {
	"enabled": true
},


"analyzers":{									// AnalyzerS config
	"enabled": true,							// starts AnalyzerS service: <true|false>.
 	"db_path": "/tmp/analyzers",				// path to the folder where to store the information
},


}
