Custom output the value of variables in the source config file

Hi,

**• Hardware Platform (Jetson / GPU)**GeForce GTX 1050
• DeepStream Version5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version7.0
**• NVIDIA GPU Driver Version (valid for GPU only)**440.100

We want set some variables in the config file like this:

[source0]
enable=1
type=4
uri=rtsp://192.168.2.1
num-sources=2
gpu-id=0
nvbuf-memory-type=0
mode=3
note=test

[source1]
enable=1
type=4
uri=rtsp://192.168.6.1
num-sources=2
gpu-id=0
nvbuf-memory-type=0
mode=5
note=train

And we hope mode&note can be print without any process, just as a passvalue only. Maybe like this:

source:0 mode=3 note=test
source:1 mode=5 note=train
source:0 mode=3 note=test
source:0 mode=3 note=test
source:1 mode=5 note=train
……

@yohoohhh

Sorry I cannot well understand your requirements.
What is your purpose for this?
What kind of information from pipeline do you want to monitor?

Well, we just want add some custom field int the [source], and we do not expect change or process it, just need get its value to kafka server.