anchor.diff:    pipelines:
       - inputRefs: [ myAppLogData ] <3>
         outputRefs: [ default ] <4>
  -  inputs:
  +  inputs: <5>
       - name: myAppLogData
         application:
           selector:
  -          matchLabels:
  -            environment: production <5>
  -            app: nginx <5>
  -        namespaces: <6>
  +          matchLabels: <6>
  +            environment: production
  +            app: nginx
  +        namespaces: <7>
           - app1
           - app2
  -  outputs: <7>
  -    - default <8>
  +  outputs: <8>
  +    - default
       ...
   ----
   <1> The name of the `ClusterLogForwarder` CR must be `instance`.
   <2> The namespace for the `ClusterLogForwarder` CR must be `openshift-logging`.
  -<3> Specify the input for the pipeline.
  -<4> Specify the output for the pipeline.
  -<5> Specify the labels of pods whose log data you want to gather.
  -<6> Optional: Specify one or more namespaces.
  -<7> Specify the output to forward your log data to. The optional `default` output shown here sends log data to the internal Elasticsearch instance.
  +<3> Specify one or more comma-separated values from `inputs[].name`.
  +<4> Specify one or more comma-separated values from `outputs[]`.
  +<5> Define a unique `inputs[].name` for each application that has a unique set of pod labels.
  +<6> Specify the key-value pairs of pod labels whose log data you want to gather. You must specify both a key and value, not just a key. To be selected, the pods must match all the key-value pairs.
  +<7> Optional: Specify one or more namespaces.
  +<8> Specify one or more outputs to forward your log data to. The optional `default` output shown here sends log data to the internal Elasticsearch instance.
   
   . Optional: To restrict the gathering of log data to specific namespaces, use `inputs[].name.application.namespaces`, as shown in the preceding example.
  +
  +. Optional: You can send log data from additional applications that have different pod labels to the same pipeline.
  +.. For each unique combination of pod labels, create an additional `inputs[].name` section similar to the one shown.
  +.. Update the `selectors` to match the pod labels of this application.
  +.. Add the new `inputs[].name` value to `inputRefs`. For example:
  ++
  +----
  +- inputRefs: [ myAppLogData, myOtherAppLogData ]
  +----
   
   . Create the CR object:
   +
  
positive.code: ----
  $ oc create -f <file-name>.yaml
  ----
  
negative.code: As a cluster administrator, you can use Kubernetes pod labels to gather log data from specific pods and forward it to a log collector.
  
  Suppose that you have an application composed of pods running alongside other pods in various namespaces. If those pods have labels that identify the application, you can gather and output their log data to a specific log collector.
  
  To specify the pod labels, you use one or more `matchLabels` key-value pairs. If you specify multiple key-value pairs, the pods must match all of them to be selected.
  
  .Procedure
  
  