Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5518

Collector rise WARN event in logs: warning[E900]: unused result for function call

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • NEW
    • Release Note Not Required
    • Low

      Description of problem:

      Warning message in collector logs: 

      2024-05-08T10:21:55.926243Z WARN transform{component_kind="transform" component_id=pipeline_my_logs_viaq_1 component_type=remap}: vector::transforms::remap: VRL compilation warning. warnings=8warning[E900]: unused result for function call `set(., ["@timestamp"], .kubernetes.event.metadata.creationTimestamp)`9┌─ :103:1110│11103 │ set!(., ["@timestamp"], .kubernetes.event.metadata.creationTimestamp)12│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the result of this expression or remove it13│14= this expression has no side-effects15= see language documentation at https://vrl.dev16= try your code in the VRL REPL, learn more at https://vrl.dev/examples
       

       

      Version-Release number of selected component (if applicable):

      sh-5.1# vector --version
      vector 0.37.1 (x86_64-unknown-linux-gnu)

      How reproducible:

      Steps to Reproduce:

      1. install CLO 6.0
      2. create CLF
      3. check collector logs

      Actual results:

      Expected results:

      Additional info:

              vparfono Vitalii Parfonov
              vparfono Vitalii Parfonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: