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

Add support for elasticsearch interface #59

Merged
merged 1 commit into from Mar 25, 2019

Conversation

Projects
None yet
3 participants
@PrasadG193
Copy link
Member

commented Mar 22, 2019

Fixes: #53

ELS configuration structure:

  communications:
    # Settings for ELS
    elasticsearch:
      enable: false
      server: 'ELASTICSEARCH_ADDRESS'              # e.g https://example.com:9243
      username: 'ELASTICSEARCH_USERNAME'
      password: 'ELASTICSEARCH_PASSWORD'
      # ELS index settings
      index:
        name: botkube
        type: botkube-event
        shards: 1
        replicas: 0

Helm command to deploy botkube with ELS support:

helm install --name botkube --namespace botkube \
--set config.settings.clustername=dev-gke \
--set config.settings.allowkubectl=true \
--set config.communications.elasticsearch.enable=true \
--set config.communications.elasticsearch.server=ELS_ADDRESS \
--set config.communications.elasticsearch.username=ELS_USERNAME \
--set config.communications.elasticsearch.password=ELS_PASSWORD \
helm/botkube/

@PrasadG193 PrasadG193 force-pushed the add-els-support branch from 999b262 to 79fcde3 Mar 22, 2019

@PrasadG193 PrasadG193 requested a review from ssudake21 Mar 22, 2019

@PrasadG193

This comment has been minimized.

Copy link
Member Author

commented Mar 22, 2019

image

@PrasadG193 PrasadG193 force-pushed the add-els-support branch from 79fcde3 to 961bd49 Mar 22, 2019

Show resolved Hide resolved pkg/filterengine/filters/image_tag_checker.go Outdated
Show resolved Hide resolved pkg/notify/elasticsearch.go Outdated

@PrasadG193 PrasadG193 force-pushed the add-els-support branch from 961bd49 to 4054edb Mar 23, 2019

@PrasadG193 PrasadG193 force-pushed the add-els-support branch from 4054edb to 371ad86 Mar 24, 2019

@ssudake21

This comment has been minimized.

Copy link
Member

commented Mar 24, 2019

@PrasadG193 Please make sure we also update documentation before this merge to master

@ssudake21 ssudake21 merged commit 943dd63 into develop Mar 25, 2019

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@PrasadG193 PrasadG193 deleted the add-els-support branch Apr 4, 2019

@write2abhi

This comment has been minimized.

Copy link

commented Jun 28, 2019

How can we create indexes on a daily basis. Because It will generate a lot of data and we need to clear the data on daily basis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.