hi @nikhilesh
scenario 1:
This is a logstash question. Here is a tutorial to deal with multi-line logs: Managing Multiline Events | Logstash Reference [7.11] | Elastic
You'll end up using the multiline "codec". So you'd end up writing a multiline rule that looks for the dn: pattern to indicate the start of your multiline log.
scenario 2:
Once you have done (1), it's concatenated in a single message. You can use a grok pattern to read out the actual values. See here for more Grok filter plugin | Logstash Reference [master] | Elastic