forked from OSBI/node-telemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestconfig.js
More file actions
27 lines (26 loc) · 689 Bytes
/
Copy pathtestconfig.js
File metadata and controls
27 lines (26 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
exports.testcouchdb = true;
exports.testcsv = true;
exports.inputs = {
test: [
{
type: 'couchdb', // Type can be 'couchdb' or 'csv'
host: 'localhost',
port: 5984,
username: 'admin',
password: 'password'
},
{
type: 'csv',
interval: 100,
buffer: __dirname+"/test/csvtest",
archive: __dirname+"/test",
/*
s3: {
key: "mys3key",
secret: "mys3secret",
bucket: "my.bucket"
},
*/
fields: [ "file", "message", "lineNumber", "level" ]
},
]};