osquery-1/osquery/logger/plugins/http_logger.h
Mitchell Grenier 418e6495c0 Adding a remote logger for osquery
The first draft of the remote logger for osquery. This should give a rough idea
of how the code will be structured and function. RFC please.

At the advice of @theopolis, I removed the category type and added the
http_logger key. We figure this should be more efficient and doesn't have to
be known at compile time.
2015-05-28 17:14:56 -07:00

18 lines
436 B
C++

#include <vector>
#include <string>
#include <osquery/registry.h>
#include <osquery/logger.h>
#include <osquery/filesystem.h>
namespace osquery {
class HTTPLoggerPlugin : public LoggerPlugin {
private:
unsigned log_num;
public:
Status setUp();
Status logString(const std::string& s);
Status init(const std::string& name, const std::vector<StatusLogLine>& log);
Status logStatus(const std::vector<StatusLogLine>& log);
};
}