MCPcopy Create free account
hub / github.com/logpai/logparser / extract_command

Function extract_command

logparser/SLCT/src/SLCT.py:125–142  ·  view source on GitHub ↗
(para, logname)

Source from the content-addressed store, hash-verified

123
124
125def extract_command(para, logname):
126 support = para["support"]
127 parajTF = para["para_j"]
128 input = ""
129
130 if parajTF:
131 input = (
132 "./src/slct -j -o "
133 + "slct_outliers.log -r -s "
134 + str(support)
135 + " "
136 + logname
137 )
138 else:
139 input = (
140 "./src/slct -o " + "slct_outliers.log -r -s " + str(support) + " " + logname
141 )
142 return input
143
144
145def log_to_dataframe(log_file, regex, headers, logformat):

Callers 1

SLCTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected