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

Enhancement: Allow for using of Elasticsearch index template instead of using built in index pattern #23

Closed
BenB196 opened this issue Sep 25, 2019 · 4 comments

Comments

@BenB196
Copy link
Owner

BenB196 commented Sep 25, 2019

Currently field names are locked into the ones given by Crashplan FFS. However a lot of these fields don't make usable sense when trying to integrate with other indexes (ex: osHostname should really be either hostname or host, and deviceUsername should be username).

Should allow for people to create custom mappings so that they can integrate the FFS into their own indexes.

@BenB196
Copy link
Owner Author

BenB196 commented Sep 25, 2019

This can be achieved using a map:

map[string]interface{}

@BenB196 BenB196 closed this as completed Sep 25, 2019
@BenB196 BenB196 reopened this Sep 25, 2019
@BenB196
Copy link
Owner Author

BenB196 commented Sep 26, 2019

Possibly use https://www.elastic.co/guide/en/elasticsearch/reference/current/alias.html as a stop gap until this feature is fully implemented.

@BenB196
Copy link
Owner Author

BenB196 commented Sep 26, 2019

This is actually solving the wrong problem. The real problem is that this should not create the index with mappings. Instead an index template should be used on the elasticsearch end.

TODOs:

  • Develop base Elasticsearch Index Template
  • Add option to disable index creation with index pattern in configuration

@BenB196 BenB196 changed the title Enhancement: Allow for the remapping of fields. Enhancement: Allow for using of Elasticsearch index template instead of using built in index pattern Sep 26, 2019
BenB196 added a commit that referenced this issue Sep 27, 2019
…tead of using the provided index pattern

Fixes issue #23
@BenB196
Copy link
Owner Author

BenB196 commented Sep 27, 2019

Added in release v0.0.9.

@BenB196 BenB196 closed this as completed Sep 27, 2019
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