- 
    Type:
Improvement
 - 
    Resolution: Fixed
 - 
    Priority:
Minor - P4
 - 
    Affects Version/s: 4.4.0
 - 
    Component/s: Logging
 
- 
        Fully Compatible
 - 
        Query 2020-10-05
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
Downstream consumers of structured logs could have problems persisting/rendering log line 4615603, and potentially others.
The convention of logging index keys as Extended JSON with deflated key names (e.g., { "": "valueA", "": "valueB" } in index {a:1, b:1}) will probably lead many consumers to receive a single-field document with only the last value (e.g., { "": "valueB" }) unless they introduce special handling.
To be clear, we do log the index key correctly. It is just in a convention that many clients will readily mangle.
At a minimum, can log line 4615603 log attr.indexKeyData.key as a string instead of Extended JSON? There may be a more generic solution that fixes all log lines impacted, but it is yet unclear how many log lines are impacted.
- is related to
 - 
                    
SERVER-53187 Structured log improvements to split_vector/chunk_splitter lines 22107 and 21908
-         
 - Closed
 
 -