> You see, but you do not observe - **Sherlock Holmes**


License
ISC
Install
npm install sherlock-log@3.2.1

Documentation

Sherlock

You see, but you do not observe - Sherlock Holmes

Simple tool to visualize reports from logs using Node.js and D3

DSL:

Callbacks:

investigate('#Sherlock SAAS QPS simple investigation', function(){
    ask(questions, function(answers){
        var options = {
            servers: answers.servers,
            commands: answers.commands
        }
        verify(options, function(conclusion){

        });
    });
});

investigate('#Sherlock SAAS QPS enhanced investigation', function(){
    ask(questions, function(answers){
        var questionOptions={
            type: "checkbox",
            name: "servers",
            message: "Select servers",
            choices : function() {
                return answwers.servers;
            }
        }
        var complementaryQuestion=new Question(questionOptions);
        ask(complementaryQuestion, function(){
            var options = {
            servers: answers.servers,
            commands: answers.commands
            }
            verify(options, function(conclusion){

            });
        });
    });
});

Events:

case('#Sherlock SAAS QPS simple investigation with events', function(){
    var question = new Question(questions);
    question.on('answered', function(answers){
        var options = {
            servers: answers.servers,
            commands: answers.commands
        }

        var investigation = new Investigation(options);
        investigation.on('conclusion', function(conclusion){

        });
        investigation.investigate();
    });
    question.ask();
});

Questions