Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to log to self defined index #32

Open
assist726 opened this issue Jun 8, 2020 · 0 comments
Open

Unable to log to self defined index #32

assist726 opened this issue Jun 8, 2020 · 0 comments

Comments

@assist726
Copy link

assist726 commented Jun 8, 2020

I am able to successfully log data into the Elasticsearch if I do not define an index and let types be dynamically generated when using elogrus.

However with certain fields I would require different types, I have tried creating the index with my own mappings and even the mapping that resulted from being dynamically generated and in both instances elogrus no longer inserted new entries into the index.

How should I go about configuring mappings so that they are compatible with elogrus?

Error message when index generated has identical mapping to defined index:
Failed to fire hook: elastic: Error 400 (Bad Request): Rejecting mapping update to [log] as the final mapping would have more than 1 type: [_doc, log] [type=illegal_argument_exception]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant