You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such a query results in an "Error: undefined method `[]' for nil:NilClass" exception. I suppose the same might happen if the index's mappings are configured to not store the original document.
How should we deal with this situation? Use the available fields in lieu of the complete document?
The text was updated successfully, but these errors were encountered:
As noted in https://discuss.elastic.co/t/error-undefined-method-for-nil-nilclass-in-logstash/54234, the elasticsearch input assumes that the hits in the search results contain the source document via the
_source
key, but this isn't true with a query like this:Such a query results in an "Error: undefined method `[]' for nil:NilClass" exception. I suppose the same might happen if the index's mappings are configured to not store the original document.
How should we deal with this situation? Use the available fields in lieu of the complete document?
The text was updated successfully, but these errors were encountered: