sherlock-log
v3.2.1
Published
> You see, but you do not observe - **Sherlock Holmes**
Downloads
28
Readme
#Sherlock
You see, but you do not observe - Sherlock Holmes
============
Simple tool to visualize reports from logs using Node.js and D3
###Running tests: vagrant up vagrant ssh sudo passwd root #set passowrd: 5tgbnhy6
###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