EnglishFrenchSpanish

Ad


OnWorks favicon

octo_extractor_fields - Online in the Cloud

Run octo_extractor_fields in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command octo_extractor_fields that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


octo_extractor_fields - Octopussy Logs Extractor (by table fields) program

SYNOPSIS


octo_extractor --device <device> --service <service>
--table <table> --loglevel <loglevel> --taxonomy <taxonomy> --begin YYYYMMDDHHMM
--end YYYYMMDDHHMM
--fields <field1,field2,fieldn> [ --pid_param <string> ] [ --json <json_outputfile>
]

DESCRIPTION


octo_extractor_fields is the program used by the Octopussy Project to extract Logs (by
table fields)

FUNCTIONS


String_List($type, $any, $fct, @args)
Returns List of elements separated by ", " from one function and args

Help()
Prints Help

Progress($msg, $num, $nb_match)
Sets progress status

Get_Messages_To_Parse($services, $loglevel, $taxonomy, $table, $fields)
Returns list of Messages to parse

Get_TimePeriod_Files($devices, $services, $begin, $end)
Returns list of Files for Devices $devices, Services $services and Period $begin-$end

Print_Logs($devices, $services, $loglevel, $taxo, $begin, $end, $re_incl, $re_excl)
Prints Logs

my $correlation_key = 'id'; my @correlation_values = ('idpes', 'idcnx', 'cpcnx'); my
%correl = (); # Init correlation table foreach my $d (@logs) { foreach my $cv
(@correlation_values) { if ( NOT_NULL($d->{$cv}) && ($d->{$cv} ne "N/A") && ($d->{$cv} ne
"0")) { $correl{$d->{$correlation_key}}{$cv} = $d->{$cv}; } } } # Use correlation table to
fill NULL values foreach my $d (@logs) { foreach my $cv (@correlation_values) { if
(NULL($d->{$cv}) || ($d->{$cv} eq 'N/A') || ($d->{$cv} eq '0')) { $d->{$cv} =
$correl{$d->{$correlation_key}}{$cv}; } } }
End()
Ends Extraction

Use octo_extractor_fields online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    4ti2-qsolve
    4ti2-qsolve
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-qsolve
  • 2
    4ti2-rays
    4ti2-rays
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-rays
  • 3
    crashmail
    crashmail
    crashmail - A Fidonet *.JAM and MSG
    tosser ...
    Run crashmail
  • 4
    crashmaint
    crashmaint
    crashmaint - Do maintanence on
    CrashMail message bases ...
    Run crashmaint
  • 5
    gap.real
    gap.real
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap.real
  • 6
    gap.sh
    gap.sh
    GAP - Groups, Algorithms and
    Programming DESCRIPTION: GAP is a system
    for computational discrete algebra with
    particular emphasis on computational
    group theory...
    Run gap.sh
  • More »

Ad