使用Lambda Python功能过滤CloudWatch日志

时间:2017-09-06 17:11:25

标签: python aws-lambda

我有这段代码:

For i = 1 To 4
    celltxt2 = ActiveSheet.Cells(1, i).Text
    If InStr(1, celltxt2, "Wire/Hose/Tube type") Then
        Columns(i + 1).EntireColumn.Select
        Selection.Insert Shift:=xlToRight
        Selection.Insert Shift:=xlToRight
        Selection.Insert Shift:=xlToRight
    End If
Next i
o = 1
    Do While IsEmpty(Cells(1, o)) = False
        o = o + 1
    Loop
Set wr = Cells(1, o)
wr.Value = "Wire"
Set sz = Cells(1, o + 1)
sz.Value = "Size"
Set clr = Cells(1, o + 2)
clr.Value = "Color"

这让我得到了正确的结果。 我想将其输入从/ home / adiel / log更改为名为mgr的CloudWatch Log Group。那么,我该怎样才能完成这项任务呢? 谢谢!

0 个答案:

没有答案