Skip to content

Commit

Permalink
Update goldens after iis update.
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscovalentecastro committed May 2, 2022
1 parent 485c65f commit f9c44ed
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local __field_0 = (function()
if record["logging.googleapis.com/labels"] == nil
then
return nil
end
return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"]
end)();
local __field_1 = (function()
return record["logging.googleapis.com/logName"]
end)();
local v = __field_0;
if v == nil then v = "" end;
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] = value
end)(v)
local v = __field_1;
if v == nil then v = "windows_event_log" end;
(function(value)
record["logging.googleapis.com/logName"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
Match default_pipeline.windows_event_log
Name lua
call process
script e264973cb9c4706d884bb5e07270adb3.lua
script 23db17dcdd961f76aa7655f5e211c6f2.lua

[OUTPUT]
Match_Regex ^(default_pipeline\.windows_event_log)$
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

function process(tag, timestamp, record)
local __field_0 = (function()
if record["logging.googleapis.com/labels"] == nil
then
return nil
end
return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"]
end)();
local __field_1 = (function()
return record["logging.googleapis.com/logName"]
end)();
local v = __field_0;
if v == nil then v = "" end;
(function(value)
if record["logging.googleapis.com/labels"] == nil
then
record["logging.googleapis.com/labels"] = {}
end
record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] = value
end)(v)
local v = __field_1;
if v == nil then v = "windows_event_log" end;
(function(value)
record["logging.googleapis.com/logName"] = value
end)(v)
return 2, timestamp, record
end

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
Match default_pipeline.windows_event_log
Name lua
call process
script e264973cb9c4706d884bb5e07270adb3.lua
script 23db17dcdd961f76aa7655f5e211c6f2.lua

[OUTPUT]
Match_Regex ^(default_pipeline\.windows_event_log)$
Expand Down

0 comments on commit f9c44ed

Please sign in to comment.