将事件日志中的数据作为SELECT count(params.value.string_value)
FROM (SELECT params
FROM "myproj.analytics_197163127.events_20190528" e CROSS JOIN
UNNEST(e.event_params) params
WHERE e.event_name ='Wallet' AND params.key = 'UserId'
LIMIT 100
) ep
发送到邮件消息中
System.Diagnostics.EventLogEntry
输出:$event = Get-EventLog -LogName System -Source "Service Control Manager" -Newest 15 | Format-Table -AutoSize
send-mailmessage -to "email@gmail.com" -from "script@gmail.com" -body "$event" -subject "Script log"
(x 15)
我正在尝试设置一个脚本,该脚本将向我发送电子邮件,其中包含事件日志中其他脚本的最后15条日志。