Essbase transaction logs.
ALG file is just pairs of timestamps and transaction descriptions:
ATX file holds the data as it was locked and sent:
This namespace lets you process transaction logs, filter and pack results in a presentable way. Contains some basic predicates to aid that.
Essbase transaction logs. ALG file is just pairs of timestamps and transaction descriptions: * First two lines is the time stamp of when audit log was enabled. * Remaining pairs describe user and location+length in ATX file, line wise. ATX file holds the data as it was locked and sent: * Quoted member names, non-quoted values. * Data chunks are separated by empty lines. This namespace lets you process transaction logs, filter and pack results in a presentable way. Contains some basic predicates to aid that.
(->block idx lines)
Consumes block index & indexed lines, returns a block.
Consumes block index & indexed lines, returns a block.
(->header idx two-line)
Consumes header index and lines, returns a header.
Consumes header index and lines, returns a header.
(between? date-time-from date-time-to)
Returns predicate that checks :head :timestamp against given interval.
Format required is clj-time/formatters :date-time - 2017-05-24T21:08:28.458Z
Returns predicate that checks :head :timestamp against given interval. Format required is clj-time/formatters :date-time - 2017-05-24T21:08:28.458Z
(blocks a-line-seq)
Consumes line-seq, returns sequence of blocks (via ->block).
Consumes line-seq, returns sequence of blocks (via ->block).
(data-matches? re-term)
Returns predicate that checks :data :block with given regexp.
Returns predicate that checks :data :block with given regexp.
(drifts inputs)
Processor for TxLog that will allow ALG vs ATX check (at and rows).
Processor for TxLog that will allow ALG vs ATX check (at and rows).
(header+block header block)
Consumes header and block, merges the structure and adds control checks.
Consumes header and block, merges the structure and adds control checks.
Regular expression for ALG entries.
Regular expression for ALG entries.
Output format for ALG timestamp.
Output format for ALG timestamp.
(headers a-line-seq)
Consume line-seq, returns sequence of headers (via ->header).
Consume line-seq, returns sequence of headers (via ->header).
(printable picks)
Packs :head :raw and :data :block into ALG+ATX form.
Header occupies first column, data is shifted one column to the right. It can be cleanly dumped as CSV/TSV and imported into a spreadsheet.
Packs :head :raw and :data :block into ALG+ATX form. Header occupies first column, data is shifted one column to the right. It can be cleanly dumped as CSV/TSV and imported into a spreadsheet.
(strict-header+block header block)
Executes header+block, then throws exception if any checks failed.
Executes header+block, then throws exception if any checks failed.
(tx-log)
(tx-log spec)
Will create an instance of TxLog. This instance defined io/in! call:
(io/in! tx-instance {:alg path-to-alg :atx path-to-atx})
Will create an instance of TxLog. This instance defined io/in! call: (io/in! tx-instance {:alg path-to-alg :atx path-to-atx})
(user-matches? re-term)
Returns predicate that checks :head :user against given regexp.
Returns predicate that checks :head :user against given regexp.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close