Skip to content

Commit

Permalink
Return _id to output
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmith-sas committed Jan 8, 2024
1 parent 894e48f commit 7c5466e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logging/bin/getlogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def main():
hitsList = [] ##Check to see if any fields in response matched user provided fields, collect matching fields
for hit in response['hits']['hits']:
try:
hit['fields']['_id'] = hit['_id']
hitsList.append(hit['fields'])
except KeyError as e:
next
Expand Down

0 comments on commit 7c5466e

Please sign in to comment.