File tree Expand file tree Collapse file tree
src/main/java/com/teragrep/k8s_01 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public class K8SConsumer implements Consumer<FileRecord> {
6363 private final SDElement sdAdditionalMetadata ;
6464 private final SDParam sdRealHostname ;
6565 private final SDParam sdSourceModule = new SDParam ("source_module" , "k8s_01" );
66- private final SDParam sdSource = new SDParam ("source " , "source" );
66+ private final SDParam sdIdSource = new SDParam ("id_source " , "source" );
6767 K8SConsumer (
6868 AppConfig appConfig ,
6969 KubernetesCachingAPIClient cacheClient ,
@@ -325,7 +325,7 @@ public void accept(FileRecord record) {
325325 sdEventId .addSDParam (sdRealHostname );
326326 sdEventId .addSDParam ("uuid" , uuid .toString ());
327327 sdEventId .addSDParam ("unixtime" , String .valueOf (Instant .now ().getEpochSecond ()));
328- sdEventId .addSDParam (sdSource );
328+ sdEventId .addSDParam (sdIdSource );
329329
330330 LOGGER .trace (
331331 "[{}] Kubernetes metadata: {}" ,
You can’t perform that action at this time.
0 commit comments