Documentation ¶
Overview ¶
Converters convert from various sources to Cicerone entries.
Note that Cicerone entries are just dressed up lager logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntriesFromBOSHTree ¶
EntriesFromBOSHTree takes a path to a directory that looks like:
/JOB-INDEX
/PROCESS /PROCESS
/JOB-INDEX
/PROCESS
For example:
/cell_z1-0/executor, /cell_z1-1/receptor
And slurps the whole bunch in, extracting and annotating Cicerone entries as it goes.
min-time and max-time are used to limit the window of time in which to import logs The final set of logs are orderd by time (which likely varies from box to box!)
Job corresponds to the bosh job extracted from the directory Index corresponds to the bosh index extracted from the directory
func EntriesFromLagerFile ¶
func EntriesFromLoggregatorLogs ¶
EntriesFromLoggregatorLogs takes a file generated via loggregator output and generates Cicerone entries. The log-lines are not assumed to be lager logs. Job and Source correspond to the loggregator source (e.g. APP, CELL) Index corresponds to the loggregator index (e.g. APP/2 yields 2)
func EntriesFromPapertrailFile ¶
EntriesFromPapertrailFile takes a papertrail file and generates Cicerone Entries Job corresponds to the BOSH job Index corresponds to the BOSH index
Types ¶
This section is empty.