Skip to main content
Solved

Is there a way to do POST to Cribl api endpoint (`/api/v1/version/sync`) from pipeline/destination?

  • March 11, 2025
  • 6 replies
  • 39 views

:question: Is there a way to do POST to Cribl api endpoint (`/api/v1/version/sync`) from pipeline/destination?

Best answer by Brendan Dalpe

Do you have Github Actions configured on the repo? This would be the most ideal way.

6 replies

  • Author
  • Employee
  • March 11, 2025

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.


  • Author
  • Employee
  • March 11, 2025

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?


  • Employee
  • March 11, 2025

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/


  • Inspiring
  • Answer
  • March 11, 2025

Do you have Github Actions configured on the repo? This would be the most ideal way.


  • Author
  • Employee
  • March 11, 2025

No, we do not have github actions. we use GHE. let me explore script route. thx


In theory, you could use a Cribl Webhook destination to trigger the refresh.