Analog 5.23:
Computer-readable output styleOUTPUT COMPUTERThis style is designed to be easy to read into spreadsheets, or post-process with graphics creation tools, for example. You can find some programs which use this style on the helper applications page. However, the computer-readable output style is not suitable for reading back into analog to create later reports: for that job, use the cache files described in the next section.
Each line in the output is separated into fields by means of a special string. You can specify this string by means of the COMPSEP command; for example, you could use
COMPSEP ,for CSV (comma separated value) format. Or you can use
COMPSEP \tto separate fields with a tab. Make sure not to use anything that might occur in the output: for example, a single or double space would not be suitable.
After that, there follows a field indicating the remaining columns in the report (using the letters RrSsPpQqBbCcDdEeN as usual). In hierarchical reports (including the reports which can show search arguments) there is an additional column l at the beginning, indicating the level in the hierarchy.
Finally there are the numerical data for each column and then the name of the item. Times actually take up several fields: year, month, date, hour & minute, or as many of those as are necessary to identify the time. (Year and quarter in the case of the Quarterly Report).
So here is an example line from the Domain Report, showing the third-level domain cam.ac.uk with 43 requests and 3.516% of the bytes.
o lRb 3 43 3.516 cam.ac.uk
The first lines of non-time reports can also contain overall information about the report. First, if the REPORTSPAN for the report is wanted, it will be listed in lines with *FR and *LR instead of the normal column letters. Then there is a line listing the floor and sortbyIAN and SLOVAK. I hope that they will be available soon, and as soon as they are, they will be added to the analog home page. See the section on Configuring the output for how to download, or even translate, new languages.
As I said, these are only a few of the commands available. To find out about all the commands, you'll have to read the remaining sections of the Readme, starting with a short section on the syntax of configuration commands.
Stephen Turner
Need help with analog? Use the analog-help mailing list.