Is there a way to do POST to Cribl api endpoint (`/api/v1/version/sync`) from pipeline/destination?
:question: Is there a way to do POST to Cribl api endpoint (`/api/v1/version/sync`) from pipeline/destination?
Best Answer
-
Do you have Github Actions configured on the repo? This would be the most ideal way.
0
Answers
-
we have distributed cribl deployment and have configured gitops; and we are trying to find a way to do automated deployment when PR is merged.
0 -
I have github logs flowing to cribl so it would be easy to find out when PR is merged on gitops repo, so now trying to understand how can cribl initiate sync with remote host directly in the pipeline/destination?
0 -
I've heard of one customer using github enterprise actions to trigger a script when commit is merged in prod branch. the script hits the cribl prod environment gets a bearer token then hits the sync endpoint. https://docs.cribl.io/stream/gitops/
0 -
Do you have Github Actions configured on the repo? This would be the most ideal way.
0 -
In theory, you could use a Cribl Webhook destination to trigger the refresh.
0 -
No, we do not have github actions. we use GHE. let me explore script route. thx
0