<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 3, 2013 at 10:31 PM, Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That leads us to the discussion we had on the list with Waldir<br>
in June: What should the tool like like that combines the dumping of<br>
arbtt-dump with the sample selection of arbtt-stats... I’m unsure about<br>
the proper design here.<br></blockquote><div> </div></div>for context about the design/strategy for arbtt-dump vs arbtt-stats
 (yes, I've been lurking the list :P other stuff has been keeping me 
busy meanwhile):<br><br><a href="https://lists.nomeata.de/archive/arbtt/2013/000176.html" target="_blank">https://lists.nomeata.de/archive/arbtt/2013/000176.html:<br></a><div>
<i>"arbtt-dump (...) is not meant to be a user’s tool. Its main purpose is 
to debug and to convert the binary format to a non-binary format. I’d 
like to see arbtt-stats the main user tool to interact with arbtt.<br>On
 the other hand, maybe I should revise this opinion. So far, arbtt-stats
 only reports that somehow aggregate the data; there is no way to view 
the raw data directly, and the name arbtt-dump really sounds like it 
should do that.<br>
So maybe arbtt-dump should get new options: The same sample-selecting 
options that arbtt-stats supports (--filter, --exclude, --only), and in 
addition a --format parameter that allows to switch from the „internal“ 
format to some human-readable format or some programming-accessible 
format (e.g. JSON).<br>
An option to more easily select the last n samples or the samples of the last n minutes/hours/days/week/</i><i>months/years would probably be handy as well."</i><br><br><a href="https://lists.nomeata.de/archive/arbtt/2013/000184.html" target="_blank">https://lists.nomeata.de/archive/arbtt/2013/000184.html</a>:<br>


<i>"I implemented parts of your suggestsions, see the documentation at <a href="http://darcs.nomeata.de/arbtt/doc/users_guide/arbtt-dump.html" target="_blank">http://darcs.nomeata.de/arbtt/doc/users_guide/arbtt-dump.html</a> for what is possible now (--format and --last).<br>


--filter is actually not so easy: The --filter from stats allows 
predicates that involve tags, and hence require actual processing of the
 data, and requires categorize.cfg to be read. I’d like to keep 
arbtt-dump at least independent of the categorization logic."</i><br>
</div>(and following messages in that thread)</div></div>