fluent-plugin-norikracan be installed with the
gem install fluent-plugin-norikra(or
norikra startcommand will launch the Norikra server in your console.
/etc/td-agent/td-agent.conf. Otherwise, it is located at
<match>section specifies the glob pattern used to look for the matching tags. If the tag of a log is matched, the respective
matchconfiguration is used (i.e. the log is routed accordingly).
norikraattribute specifies the Norikra server's RPC host and port (default:
out_norikrahandle the rest of tags (e.g.
data.foo) as the target, which is the name of the set of events as same as table name of RDBMS.
<default>section specifies which fields are sent to the Norikra server. We can also specify these sets per target with
<target NAME>...</target>. For more details, refer to
curlcommand in this example):
accessand sent a message with fields of
norikra-clientcommand from the console that has the
userper 10 second interval, with a 'group by'
norikra-client query addon the CLI:
actionfor events with
user != 0only, and outputs events at "2014/05/20 21:00:24". At "2014/05/20 21:00:34", just after next 10 seconds, this query reports that no events arrived (These are teardown records, and reported only once).