1.0.0 • Published 7 years ago

sysdig-to-json v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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