Closed JSCU-CNI closed 3 months ago
Attention: Patch coverage is 76.92308%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 83.67%. Comparing base (
e0586ef
) to head (cd99f9b
).
Files | Patch % | Lines |
---|---|---|
flow/record/adapter/elastic.py | 76.92% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds metadata fields to the elastic adapter and repairs
elastic+[PROTOCOL]://
behaviour. It also enables users to authenticate to Elasticsearch with an API key.You can now write arbitrary metadata to the
document._source._record_metadata
dict using the following syntax:This will result in the following
_record_metadata
dict:Of course we can change
_meta_
to something else if that seems more appropriate for the flow.record project.