我需要用不同的模式集中来自多个资源的日志
例如
source1中的架构:时间戳记,错误代码,错误描述
source2中的架构:时间戳记,eventId,事件描述
表创建为
.create table TraceLog (Timestamp:datetime,errorcode:string,errordescription:string,eventId:string,eventdescription:string)
对于从source1提取数据,我使用简单
.ingest inline into Table TraceLog <| 2020-05-01,"error code","test error description"
对于soruce2中的数据,除了
.ingest inline into Table TraceLog <| 2020-05-01,"","test event ID","test event description"
在source1中没有指定列的情况下获取数据的其他方法?