1.0.0 • Published 7 years ago
sysdig-to-json v1.0.0
Converts a sysdig raw capture to json
const SysdigToJson = require('sysdig-to-json');
const sysdigJson = new SysdigToJson();
sysdigJson('/path/to/sysdig.capture').then((outputFilename) => {
// outputFilename = /path/to/output.json
});
Options
The constructor takes an object with various options you can override.
- outputDir: Location to store the output file os.tmpdir()
- fields:
- filter:
- bufferLength 4096
1.0.0
7 years ago