We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a622420 commit c4995a6Copy full SHA for c4995a6
splunklib/searchcommands/internals.py
@@ -594,7 +594,8 @@ def _write_record(self, record):
594
fieldnames = self._fieldnames
595
596
if fieldnames is None:
597
- self._fieldnames = fieldnames = set(list(record.keys())) | self.custom_fields
+ self._fieldnames = fieldnames = list(record.keys())
598
+ self._fieldnames.extend(self.custom_fields)
599
value_list = imap(lambda fn: (str(fn), str('__mv_') + str(fn)), fieldnames)
600
self._writerow(list(chain.from_iterable(value_list)))
601
0 commit comments