{
// CGRateS Configuration file
//


"general": {
	"log_level": 7,
	"node_id": "CGRFilterS",
},

"rpc_conns": {
	"conn1": {
		"strategy": "*first",
		"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
	},
},


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


"data_db": {								// database used to store runtime data (eg: accounts, cdr stats)
	"db_type": "redis",						// data_db type: <redis|mongo>
	"db_port": 6379, 						// data_db port to reach the database
	"db_name": "10", 						// data_db database name to connect to
},


"stor_db": {
	"db_password": "CGRateS.org",
},


"rals": {
	"enabled": true,
	"thresholds_conns": ["conn1"],
},

"schedulers": {
	"enabled": true,				
},

"filters": {								
	"stats_conns": ["conn1"],
	"resources_conns": ["conn1"],
	"apiers_conns": ["conn1"],
},


"resources": {
	"enabled": true,
	"indexed_selects":false,					
	"store_interval": "1s",
},


"stats": {
	"enabled": true,
	"indexed_selects":false,					
	"store_interval": "1s",
},


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


"attributes": {
	"enabled": true,
},


"chargers": {
	"enabled": true,
	"suffix_indexed_fields": ["*req.Subject"],
	"attributes_conns": ["*internal"],
},


"apiers": {
	"enabled": true,
	"caches_conns":["conn1"],
	"scheduler_conns": ["*internal"],
},


}
