Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.
Overview
Buckle connects AI agents to Coralogix with an API key. Agents can run DataPrime and PromQL queries over your logs, traces, and metrics, and read alerts, incidents, cases, and dashboards. The gateway injects the key into requests to the Coralogix API, so your agent never sees it.This suits SRE and debugging agents: pulling the errors behind a spike, correlating an alert with the logs around it, or checking a service’s SLO before a deploy.Connecting takes about two minutes.
What you will set up
A Coralogix API key, ideally with the DataQuerying preset
A connection pinned to your Coralogix region
Automatic key injection and per-agent, per-tool access
Connect Coralogix
1
Find your Coralogix region
Every Coralogix account lives in one region, and a key only works there. Read yours from the address you sign in at:
You sign in at
Region
<team>.app.coralogix.us
us1
<team>.app.cx498.coralogix.com
us2
<team>.app.us3.coralogix.com
us3
<team>.coralogix.com
eu1
<team>.app.eu2.coralogix.com
eu2
<team>.app.coralogix.in
ap1
<team>.app.coralogixsg.com
ap2
<team>.app.ap3.coralogix.com
ap3
2
Create an API key in Coralogix
In Coralogix, open Settings > API Keys and create a Personal or Team key. Give it a name such as buckle-key and pick its Role Presets.
Creating a personal key in Coralogix. The role presets decide what the key, and so the agent, can do.
For an agent that investigates, choose the DataQuerying preset. It can query logs, traces, and metrics, and Coralogix keeps the preset up to date as it adds permissions. Add Alerts or Incidents permissions only if the agent should read or manage them too.Copy the key right away.
Prefer a Team key for a shared agent. A Personal key stops working when the person who created it leaves the team.
3
Paste it in Buckle
In the Buckle dashboard, open Settings > Apps > Coralogix, paste the key into API key, and pick your Region. Each option shows its sign-in address, so match the one in your browser. US2 is selected by default.
The Coralogix connect window in Buckle.
Select Connect Coralogix. Buckle checks the key against the API in your region before saving it, and names the connection after your Coralogix team.
The gateway always sends a connection’s requests to its own region. An agent can call the current host (api.us2.coralogix.com) or an older one your scripts already use (api.cx498.coralogix.com, ng-api-http.cx498.coralogix.com), and it works either way. Log ingestion (ingress.*) uses a separate Send-Your-Data key and is not part of this connection.
What agents can do
Area
What agents can do
Logs and traces
Run DataPrime or Lucene queries over logs and spans
Metrics
Run PromQL queries and read metric labels and series
Alerts
List alert definitions and their triggered events, and create, change, or delete definitions
Incidents
List, filter, and read incidents, and acknowledge, resolve, close, or assign them
Cases
List, filter, and read cases with their timelines, and acknowledge, assign, resolve, close, or comment on them
Dashboards
List and read dashboards, and create, change, or delete them
SLOs
List SLOs and read their status
Saved views
List and read saved Explore views
What a key can actually do is capped by its Coralogix permissions. A DataQuerying key can query but cannot touch alerts or incidents, whatever Buckle allows.
Quick example
No Authorization header is needed, the gateway adds it. Replace us2 with your region:
# Last 20 error logscurl -s -X POST "https://api.us2.coralogix.com/api/v1/dataprime/query" \ -H "Content-Type: application/json" \ -d '{"query": "source logs | filter $m.severity == ERROR | limit 20"}'# Request rate over the last 5 minutescurl -s "https://api.us2.coralogix.com/metrics/api/v1/query" \ --data-urlencode 'query=sum(rate(http_requests_total[5m]))'
Grant the connection to each agent that needs it, and choose per tool what runs freely, what needs approval, and what’s blocked.A good default is to let agents query logs and metrics freely and put anything that changes state behind approval. Deleting an alert definition silences monitoring for good, and resolving an incident or case hides it from the people working it.Organization rules add guardrails on top. A blocked request never reaches Coralogix.To disconnect, remove the connection in Settings > Apps > Coralogix, then delete the key in Coralogix under Settings > API Keys.
FAQ
How do I rotate my Coralogix API key?
Create a new key under Settings > API Keys, then paste it into Settings > Apps > Coralogix. Agents pick up the new key automatically. Then delete the old key.
How do I keep the key out of the agent's context?
Store it in Buckle. The gateway adds the Authorization header at the proxy, so the agent never holds the key. See How it works.
Which region should I pick?
The one matching the address you sign in at. A key only works in its own region. See the table in Connect Coralogix.
Should I use a Personal or Team key?
Prefer a Team key for a shared agent. A Personal key stops working when the person who created it leaves the team.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Buckle","colors":{"primary":"#ff6a13","light":"#ff8236","dark":"#e55e0f"},"logo":{"light":"https://mintcdn.com/onecli-17d3f772/5_AFCR2UNaqNo0AT/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=5_AFCR2UNaqNo0AT\u0026q=85\u0026s=30ceea1dd3505e0e9dea50b544521ced","dark":"https://mintcdn.com/onecli-17d3f772/5_AFCR2UNaqNo0AT/logo/logo-full-dark.svg?fit=max\u0026auto=format\u0026n=5_AFCR2UNaqNo0AT\u0026q=85\u0026s=120ef96cf376422549781454d97dd810","href":"https://buckle.dev"},"favicon":"https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/favicon.svg?fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=ddda982106e5fd52c3815a54c183f4b1","appearance":{"default":"light"},"background":{"color":{"light":"#FAFAF9","dark":"#1A1918"}},"navbar":{"links":[{"href":"https://github.com/trybuckle/buckle","label":"GitHub"},{"href":"https://buckle.dev","label":"Install"}]},"footer":{"socials":{"github":"https://github.com/trybuckle"}},"fonts":{"heading":{"family":"Chakra Petch","weight":700,"source":"fonts/ChakraPetch-700.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-17d3f772/images/github.svg","href":"https://github.com/buckle"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onecli-17d3f772","hasAudioNarration":false,"actualSubdomain":"onecli-17d3f772","customDomains":[],"gitSource":{"type":"github","owner":"trybuckle","repo":"buckle-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af9ac749033d7e87e8c505a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af9b4b9e79e0e5d703531fb","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":240},{"language":"default","tag":"Workspace","count":105},{"language":"default","tag":"Integrations","count":88},{"language":"default","tag":"All app connections","count":64},{"language":"default","tag":"Enterprise","count":57},{"language":"default","tag":"Organization","count":52},{"language":"default","tag":"Apps","count":29},{"language":"default","tag":"Channels","count":28},{"language":"default","tag":"Platform","count":21},{"language":"default","tag":"Guides","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.nav-anchor div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;transition:opacity 0.15s ease!important}a.nav-anchor:hover div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;opacity:0.7!important}a.nav-anchor div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}a.nav-anchor:hover div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}.dark a.nav-anchor div.mr-4.rounded-md img,[data-theme=\"dark\"] a.nav-anchor div.mr-4.rounded-md img{filter:invert(1)!important}"}],"page":{"pagePath":"integrations/coralogix","slug":"/integrations/coralogix","pageMetadata":{"title":"Query Coralogix Logs and Metrics From Agents","sidebarTitle":"Coralogix","description":"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.","canonical":"https://buckle.dev/docs/integrations/coralogix","href":"/integrations/coralogix"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Buckle connects AI agents to `,_jsx(_components.a,{href:`https://coralogix.com`,children:`Coralogix`}),` with an API key. Agents can run DataPrime and PromQL queries over your logs, traces, and metrics, and read alerts, incidents, cases, and dashboards. The gateway injects the key into requests to the Coralogix API, so your agent never sees it.`]}),`\n`,_jsx(_components.p,{children:`This suits SRE and debugging agents: pulling the errors behind a spike, correlating an alert with the logs around it, or checking a service’s SLO before a deploy.`}),`\n`,_jsx(_components.p,{children:`Connecting takes about two minutes.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-will-set-up`,children:`What you will set up`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A Coralogix API key, ideally with the `,_jsx(_components.strong,{children:`DataQuerying`}),` preset`]}),`\n`,_jsx(_components.li,{children:`A connection pinned to your Coralogix region`}),`\n`,_jsx(_components.li,{children:`Automatic key injection and per-agent, per-tool access`}),`\n`]}),`\n`,_jsx(`a`,{id:`self-hosted`,style:{scrollMarginTop:`8rem`}}),`\n`,_jsx(Heading,{level:`2`,id:`connect-coralogix`,children:`Connect Coralogix`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Find your Coralogix region`,children:[_jsx(_components.p,{children:`Every Coralogix account lives in one region, and a key only works there. Read yours from the address you sign in at:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`You sign in at`}),_jsx(_components.th,{children:`Region`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.coralogix.us`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`us1`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.cx498.coralogix.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`us2`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.us3.coralogix.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`us3`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.coralogix.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eu1`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.eu2.coralogix.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eu2`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.coralogix.in`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ap1`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.coralogixsg.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ap2`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003cteam>.app.ap3.coralogix.com`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ap3`})})]})]})]})]}),_jsxs(Step,{title:`Create an API key in Coralogix`,children:[_jsxs(_components.p,{children:[`In Coralogix, open `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`API Keys`}),` and create a `,_jsx(_components.strong,{children:`Personal`}),` or `,_jsx(_components.strong,{children:`Team`}),` key. Give it a name such as `,_jsx(_components.code,{children:`buckle-key`}),` and pick its `,_jsx(_components.strong,{children:`Role Presets`}),`.`]}),_jsx(Frame,{caption:`Creating a personal key in Coralogix. The role presets decide what the key, and so the agent, can do.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=00bb2bef644a2a2a56cf90d460fc552d`,alt:`Coralogix Create a new personal key dialog, with Personal Key selected as the key type, the key name buckle-key, a Role Presets field holding several presets, an Advanced section, and Cancel and Create buttons.`,\"data-og-width\":`1996`,width:`1996`,\"data-og-height\":`1014`,height:`1014`,\"data-path\":`images/integrations/coralogix/coralogix-create-personal-key.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=280\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=ba3525a3417acab93020d4cd362b8153 280w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=560\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=c5129ac8bef4a6288b20ed730b7934d6 560w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=840\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=8ae3fcb60997aff9e3edb78f1d6713f5 840w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=1100\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=669f0315bf289effc443843c065bdf5a 1100w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=1650\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=d8a23ed82b7bccd37200fea38e2458e4 1650w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/coralogix-create-personal-key.png?w=2500\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=fe0630c19dba5e29f6facc1a11a7b651 2500w`})}),_jsxs(_components.p,{children:[`For an agent that investigates, choose the `,_jsx(_components.strong,{children:`DataQuerying`}),` preset. It can query logs, traces, and metrics, and Coralogix keeps the preset up to date as it adds permissions. Add `,_jsx(_components.strong,{children:`Alerts`}),` or `,_jsx(_components.strong,{children:`Incidents`}),` permissions only if the agent should read or manage them too.`]}),_jsx(_components.p,{children:`Copy the key right away.`}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Prefer a `,_jsx(_components.strong,{children:`Team`}),` key for a shared agent. A Personal key stops working when the person who created it leaves the team.`]})})]}),_jsxs(Step,{title:`Paste it in Buckle`,children:[_jsxs(_components.p,{children:[`In the Buckle dashboard, open `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Apps`}),` > `,_jsx(_components.strong,{children:`Coralogix`}),`, paste the key into `,_jsx(_components.strong,{children:`API key`}),`, and pick your `,_jsx(_components.strong,{children:`Region`}),`. Each option shows its sign-in address, so match the one in your browser. `,_jsx(_components.strong,{children:`US2`}),` is selected by default.`]}),_jsx(Frame,{caption:`The Coralogix connect window in Buckle.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=d857ee15925da46545c3b008d22e97d4`,alt:`Buckle connect window for Coralogix, showing the setup guide link, the API key field with a link to Coralogix's instructions, the Region dropdown set to US2 with its sign-in address, a Find your region link, and the Connect Coralogix button.`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`1500`,height:`1500`,\"data-path\":`images/integrations/coralogix/buckle-connect-coralogix.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=280\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=b860c248bdf943a2117f4ae527993ecc 280w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=560\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=deb55420dad3096a46217b02a1b13a8d 560w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=840\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=12d89564a726b1b6deb5c5e8d8a25ecc 840w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=1100\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=5af9d65984f3080149fc5d562763a2e5 1100w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=1650\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=5a7283dc0b7c36dd1220042db73acb84 1650w, https://mintcdn.com/onecli-17d3f772/hJP3XqgFsBDnXHKy/images/integrations/coralogix/buckle-connect-coralogix.png?w=2500\u0026fit=max\u0026auto=format\u0026n=hJP3XqgFsBDnXHKy\u0026q=85\u0026s=ad3850808d0eeec692d30ea43a5ea80a 2500w`})}),_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Connect Coralogix`}),`. Buckle checks the key against the API in your region before saving it, and names the connection after your Coralogix team.`]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The gateway always sends a connection’s requests to its own region. An agent can call the current host (`,_jsx(_components.code,{children:`api.us2.coralogix.com`}),`) or an older one your scripts already use (`,_jsx(_components.code,{children:`api.cx498.coralogix.com`}),`, `,_jsx(_components.code,{children:`ng-api-http.cx498.coralogix.com`}),`), and it works either way. Log ingestion (`,_jsx(_components.code,{children:`ingress.*`}),`) uses a separate Send-Your-Data key and is not part of this connection.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-agents-can-do`,children:`What agents can do`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Area`}),_jsx(_components.th,{children:`What agents can do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Logs and traces`})}),_jsx(_components.td,{children:`Run DataPrime or Lucene queries over logs and spans`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Metrics`})}),_jsx(_components.td,{children:`Run PromQL queries and read metric labels and series`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Alerts`})}),_jsx(_components.td,{children:`List alert definitions and their triggered events, and create, change, or delete definitions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Incidents`})}),_jsx(_components.td,{children:`List, filter, and read incidents, and acknowledge, resolve, close, or assign them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Cases`})}),_jsx(_components.td,{children:`List, filter, and read cases with their timelines, and acknowledge, assign, resolve, close, or comment on them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Dashboards`})}),_jsx(_components.td,{children:`List and read dashboards, and create, change, or delete them`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`SLOs`})}),_jsx(_components.td,{children:`List SLOs and read their status`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Saved views`})}),_jsx(_components.td,{children:`List and read saved Explore views`})]})]})]}),`\n`,_jsx(_components.p,{children:`What a key can actually do is capped by its Coralogix permissions. A DataQuerying key can query but cannot touch alerts or incidents, whatever Buckle allows.`}),`\n`,_jsx(Heading,{level:`2`,id:`quick-example`,children:`Quick example`}),`\n`,_jsxs(_components.p,{children:[`No `,_jsx(_components.code,{children:`Authorization`}),` header is needed, the gateway adds it. Replace `,_jsx(_components.code,{children:`us2`}),` with your region:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Last 20 error logs`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.us2.coralogix.com/api/v1/dataprime/query\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"query\": \"source logs | filter $m.severity == ERROR | limit 20\"}'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Request rate over the last 5 minutes`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.us2.coralogix.com/metrics/api/v1/query\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'query=sum(rate(http_requests_total[5m]))'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For every endpoint, see the `,_jsx(_components.a,{href:`https://coralogix.com/docs/api-reference/introduction-v5/`,children:`Coralogix API reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`controlling-access`,children:`Controlling access`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/agent-access`,children:`Grant`}),` the connection to each agent that needs it, and choose per tool what runs freely, what needs approval, and what’s blocked.`]}),`\n`,_jsx(_components.p,{children:`A good default is to let agents query logs and metrics freely and put anything that changes state behind approval. Deleting an alert definition silences monitoring for good, and resolving an incident or case hides it from the people working it.`}),`\n`,_jsxs(_components.p,{children:[`Organization `,_jsx(_components.a,{href:`/guides/rules`,children:`rules`}),` add guardrails on top. A blocked request never reaches Coralogix.`]}),`\n`,_jsxs(_components.p,{children:[`To disconnect, remove the connection in `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Apps`}),` > `,_jsx(_components.strong,{children:`Coralogix`}),`, then delete the key in Coralogix under `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`API Keys`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`How do I rotate my Coralogix API key?`,id:`how-do-i-rotate-my-coralogix-api-key`,children:_jsxs(_components.p,{children:[`Create a new key under `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`API Keys`}),`, then paste it into `,_jsx(_components.strong,{children:`Settings`}),` > `,_jsx(_components.strong,{children:`Apps`}),` > `,_jsx(_components.strong,{children:`Coralogix`}),`. Agents pick up the new key automatically. Then delete the old key.`]})}),_jsx(Accordion,{title:`How do I keep the key out of the agent's context?`,id:`how-do-i-keep-the-key-out-of-the-agents-context`,children:_jsxs(_components.p,{children:[`Store it in Buckle. The gateway adds the `,_jsx(_components.code,{children:`Authorization`}),` header at the proxy, so the agent never holds the key. See `,_jsx(_components.a,{href:`/how-it-works`,children:`How it works`}),`.`]})}),_jsx(Accordion,{title:`Which region should I pick?`,id:`which-region-should-i-pick`,children:_jsxs(_components.p,{children:[`The one matching the address you sign in at. A key only works in its own region. See the table in `,_jsx(_components.a,{href:`#connect-coralogix`,children:`Connect Coralogix`}),`.`]})}),_jsx(Accordion,{title:`Should I use a Personal or Team key?`,id:`should-i-use-a-personal-or-team-key`,children:_jsxs(_components.p,{children:[`Prefer a `,_jsx(_components.strong,{children:`Team`}),` key for a shared agent. A Personal key stops working when the person who created it leaves the team.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Query Coralogix Logs and Metrics From Agents","sidebarTitle":"Coralogix","description":"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.","canonical":"https://buckle.dev/docs/integrations/coralogix","href":"/integrations/coralogix"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"What you will set up","slug":"what-you-will-set-up","depth":2,"children":[]},{"title":"Connect Coralogix","slug":"connect-coralogix","depth":2,"children":[]},{"title":"What agents can do","slug":"what-agents-can-do","depth":2,"children":[]},{"title":"Quick example","slug":"quick-example","depth":2,"children":[]},{"title":"Controlling access","slug":"controlling-access","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/onecli-17d3f772/e8c5fc0faf4d8de9/infra/cloudfront/docs-response-headers.js"],"subdomain":"onecli-17d3f772","siteName":"Buckle","title":"Query Coralogix Logs and Metrics From Agents - Buckle","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T13:34:02.491Z","originalFileLocation":"integrations/coralogix.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Buckle\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Query Coralogix Logs and Metrics From Agents - Buckle\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Buckle\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://buckle.dev/docs/integrations/coralogix\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onecli-17d3f772.mintlify.site/docs/_mintlify/api/og/v2?division=All+app+connections\u0026amp;title=Query+Coralogix+Logs+and+Metrics+From+Agents\u0026amp;description=Let+SRE+agents+run+DataPrime+and+PromQL+queries+and+read+Coralogix+alerts+and+incidents.+Connect+an+API+key+that+the+gateway+keeps+out+of+the+agent.\u0026amp;theme=14ca75cbbb2a0e9ba5cd5703\u0026amp;signature=5ecddbe6ac325aba1d7ed697c725fd58879b58339cdb18e437a589dd620b0758\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Query Coralogix Logs and Metrics From Agents - Buckle\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onecli-17d3f772.mintlify.site/docs/_mintlify/api/og/v2?division=All+app+connections\u0026amp;title=Query+Coralogix+Logs+and+Metrics+From+Agents\u0026amp;description=Let+SRE+agents+run+DataPrime+and+PromQL+queries+and+read+Coralogix+alerts+and+incidents.+Connect+an+API+key+that+the+gateway+keeps+out+of+the+agent.\u0026amp;theme=14ca75cbbb2a0e9ba5cd5703\u0026amp;signature=5ecddbe6ac325aba1d7ed697c725fd58879b58339cdb18e437a589dd620b0758\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/onecli-17d3f772/eFiEtTXh_9JK0wwc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Buckle\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff6a13\">\u003clink data-mint-head rel=\"canonical\" href=\"https://buckle.dev/docs/integrations/coralogix\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/integrations/coralogix.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onecli-17d3f772.mintlify.dev/#organization\",\"name\":\"Buckle\",\"url\":\"https://onecli-17d3f772.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onecli-17d3f772/5_AFCR2UNaqNo0AT/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=5_AFCR2UNaqNo0AT\u0026q=85\u0026s=30ceea1dd3505e0e9dea50b544521ced\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onecli-17d3f772.mintlify.dev/docs#website\",\"name\":\"Buckle\",\"url\":\"https://onecli-17d3f772.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://onecli-17d3f772.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://buckle.dev/docs/integrations/coralogix#webpage\",\"url\":\"https://buckle.dev/docs/integrations/coralogix\",\"name\":\"Query Coralogix Logs and Metrics From Agents\",\"description\":\"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\",\"dateModified\":\"2026-11-15T13:34:02.491Z\",\"isPartOf\":{\"@id\":\"https://onecli-17d3f772.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://buckle.dev/docs/integrations/coralogix#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://buckle.dev/docs/integrations/coralogix#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"All app connections\",\"item\":\"https://onecli-17d3f772.mintlify.dev/docs/integrations/affinity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Query Coralogix Logs and Metrics From Agents\",\"item\":\"https://buckle.dev/docs/integrations/coralogix\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://buckle.dev/docs/integrations/coralogix#article\",\"headline\":\"Query Coralogix Logs and Metrics From Agents\",\"name\":\"Query Coralogix Logs and Metrics From Agents\",\"description\":\"Let SRE agents run DataPrime and PromQL queries and read Coralogix alerts and incidents. Connect an API key that the gateway keeps out of the agent.\",\"url\":\"https://buckle.dev/docs/integrations/coralogix\",\"mainEntityOfPage\":{\"@id\":\"https://buckle.dev/docs/integrations/coralogix#webpage\"},\"dateModified\":\"2026-11-15T13:34:02.491Z\",\"publisher\":{\"@id\":\"https://onecli-17d3f772.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://onecli-17d3f772.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Buckle\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Buckle\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/integrations/coralogix.md","siteName":"Buckle","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-17d3f772/images/github.svg","href":"https://github.com/buckle"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","groups":[{"group":"Integrations","root":{"title":"Integrations: Connect Agents to External Services","sidebarTitle":"Overview","href":"/integrations"},"pages":[{"title":"App Connections: How OAuth \u0026 API Keys Work","sidebarTitle":"App Connections","href":"/integrations/app-connections"},{"title":"Custom Connections: Connect Any API With a Key","sidebarTitle":"Custom connections","href":"/integrations/custom-connections"},{"title":"Chat With AI Agents and Approve Actions in Slack","sidebarTitle":"Slack","href":"/integrations/slack"},{"title":"Keep LLM API Keys Out of Your AI Agents","sidebarTitle":"LLMs","href":"/integrations/llms"},{"title":"External Vaults: Connect Password Managers","sidebarTitle":"External Vaults","href":"/vaults/overview"}]},{"group":"Cloud integrations","pages":[{"title":"Prospect and Enrich Leads in Apollo.io With Agents","sidebarTitle":"Apollo.io","href":"/integrations/apollo-io"},{"title":"Use AWS From AI Agents Without Exposing Keys","sidebarTitle":"AWS","href":"/integrations/aws"},{"title":"Let AI Agents Open PRs and Issues on GitHub","sidebarTitle":"GitHub","href":"/integrations/github"},{"title":"Org-Approved GitHub Repo Access for AI Agents","sidebarTitle":"GitHub App","href":"/integrations/github-app"},{"title":"Let AI Agents Query Datadog Metrics and Monitors","sidebarTitle":"Datadog","href":"/integrations/datadog"},{"title":"Let AI Agents Update HubSpot CRM Records","sidebarTitle":"HubSpot","href":"/integrations/hubspot"},{"title":"Let AI Agents Triage Sentry Errors","sidebarTitle":"Sentry","href":"/integrations/sentry"},{"title":"Let AI Agents Read and Write OneNote Notebooks","sidebarTitle":"Microsoft OneNote","href":"/integrations/microsoft-onenote"},{"title":"Connect AI Agents to Outlook Mail in Microsoft 365","sidebarTitle":"Outlook Mail","href":"/integrations/outlook-mail"},{"title":"Let AI Agents Book Meetings in Outlook Calendar","sidebarTitle":"Outlook Calendar","href":"/integrations/outlook-calendar"}]},{"group":"All app connections","pages":[{"title":"Connect AI Agents to Affinity CRM With an API Key","sidebarTitle":"Affinity","href":"/integrations/affinity"},{"title":"Let AI Agents Manage Attio CRM Records","sidebarTitle":"Attio","href":"/integrations/attio"},{"title":"Run Clay Enrichment From AI Agents","sidebarTitle":"Clay","href":"/integrations/clay"},{"title":"Query PostHog Analytics and Flags From Agents","sidebarTitle":"PostHog","href":"/integrations/posthog"},{"title":"Connect AI Agents to Salesforce With an External App","sidebarTitle":"Salesforce","href":"/integrations/salesforce"},{"title":"Turn Timeless Meetings Into Agent Follow-Ups","sidebarTitle":"Timeless","href":"/integrations/timeless"},{"title":"Let Agents Search Circleback Meeting Notes","sidebarTitle":"Circleback","href":"/integrations/circleback"},{"title":"Run HeyReach LinkedIn Campaigns From AI Agents","sidebarTitle":"HeyReach","href":"/integrations/heyreach"},{"title":"Automate Dripify LinkedIn Outreach With Agents","sidebarTitle":"Dripify","href":"/integrations/dripify"},{"title":"Let On-Call Agents Triage PagerDuty Incidents","sidebarTitle":"PagerDuty","description":"Let SRE agents read PagerDuty incidents and on-call schedules, and acknowledge or resolve pages. Connect a REST API key that the gateway keeps hidden.","href":"/integrations/pagerduty"},{"title":"Query Coralogix Logs and Metrics From Agents","sidebarTitle":"Coralogix","href":"/integrations/coralogix"},{"title":"Search Company Knowledge in Onyx From Agents","sidebarTitle":"Onyx","description":"Let agents search company knowledge in Onyx, chat with Onyx agents, and manage documents. Connect an API key or access token the gateway keeps hidden.","href":"/integrations/onyx"},{"title":"Scoped Cloudflare API Tokens for AI Agents","sidebarTitle":"Cloudflare","href":"/integrations/cloudflare"},{"title":"Set Up One Google OAuth Client for All Google Apps","sidebarTitle":"Google (setup)","href":"/integrations/google"},{"title":"Let AI Agents Search, Draft, and Send Gmail","sidebarTitle":"Gmail","href":"/integrations/gmail"},{"title":"Let AI Agents Schedule Meetings in Google Calendar","sidebarTitle":"Google Calendar","href":"/integrations/google-calendar"},{"title":"Give AI Agents Access to Google Drive Files","sidebarTitle":"Google Drive","href":"/integrations/google-drive"},{"title":"Let AI Agents Draft and Edit Google Docs","sidebarTitle":"Google Docs","href":"/integrations/google-docs"},{"title":"Let AI Agents Read and Update Google Sheets","sidebarTitle":"Google Sheets","href":"/integrations/google-sheets"},{"title":"Generate Google Slides Decks With AI Agents","sidebarTitle":"Google Slides","href":"/integrations/google-slides"},{"title":"Build Google Forms and Read Responses With Agents","sidebarTitle":"Google Forms","href":"/integrations/google-forms"},{"title":"Create Google Meet Links From AI Agents","sidebarTitle":"Google Meet","href":"/integrations/google-meet"},{"title":"Search and Organize Google Photos With AI Agents","sidebarTitle":"Google Photos","href":"/integrations/google-photos"},{"title":"Track To-Dos in Google Tasks From AI Agents","sidebarTitle":"Google Tasks","href":"/integrations/google-tasks"},{"title":"Automate Google Workspace User Admin With Agents","sidebarTitle":"Google Admin","href":"/integrations/google-admin"},{"title":"Pull GA4 Reports Into AI Agents","sidebarTitle":"Google Analytics","href":"/integrations/google-analytics"},{"title":"Let AI Agents Check Indexing in Search Console","sidebarTitle":"Google Search Console","href":"/integrations/google-search-console"},{"title":"Automate Google Classroom Coursework With Agents","sidebarTitle":"Google Classroom","href":"/integrations/google-classroom"},{"title":"Manage YouTube Playlists and Analytics With Agents","sidebarTitle":"YouTube","href":"/integrations/youtube"},{"title":"Let AI Agents Search and Update Notion Pages","sidebarTitle":"Notion","href":"/integrations/notion"},{"title":"Let AI Agents Create and Triage Jira Issues","sidebarTitle":"Jira","href":"/integrations/jira"},{"title":"Give AI Agents Search and Edit Access to Confluence","sidebarTitle":"Confluence","href":"/integrations/confluence"},{"title":"Let AI Agents Manage Your Todoist Tasks","sidebarTitle":"Todoist","href":"/integrations/todoist"},{"title":"Give AI Agents Safe Access to Your Dropbox Files","sidebarTitle":"Dropbox","href":"/integrations/dropbox"},{"title":"Deploy to Fly.io From an Agent Without Exposing Tokens","sidebarTitle":"Fly.io","href":"/integrations/flyio"},{"title":"Let AI Agents Post to LinkedIn on Your Behalf","sidebarTitle":"LinkedIn","href":"/integrations/linkedin"},{"title":"Connect AI Agents to Monday.com Boards","sidebarTitle":"Monday.com","href":"/integrations/monday"},{"title":"Administer MongoDB Atlas Clusters With Agents","sidebarTitle":"MongoDB Atlas","href":"/integrations/mongodb-atlas"},{"title":"Sync Navan Bookings and Expenses With AI Agents","sidebarTitle":"Navan","href":"/integrations/navan"},{"title":"Let AI Agents Send Email With Resend","sidebarTitle":"Resend","href":"/integrations/resend"},{"title":"Send SMS and WhatsApp From AI Agents With Twilio","sidebarTitle":"Twilio","href":"/integrations/twilio"},{"title":"Zendesk Integration: Tickets and Help Center","sidebarTitle":"Zendesk","href":"/integrations/zendesk"},{"title":"Manage Supabase Projects With AI Agents","sidebarTitle":"Supabase","href":"/integrations/supabase"},{"title":"Call Claude and Gemini on Vertex AI From Agents","sidebarTitle":"Vertex AI","href":"/integrations/vertex-ai"},{"title":"Let AI Agents Edit Webflow CMS and Publish Sites","sidebarTitle":"Webflow","href":"/integrations/webflow"},{"title":"Let AI Agents Schedule Zoom Meetings and Get Recordings","sidebarTitle":"Zoom","href":"/integrations/zoom"},{"title":"Give Agents AWS Access With an IAM Role, Not Keys","sidebarTitle":"AWS Role","href":"/integrations/aws-role"},{"title":"Bitbucket Repos, Pull Requests, and Pipelines","sidebarTitle":"Bitbucket","href":"/integrations/bitbucket"},{"title":"Manage Docker Hub Repositories From AI Agents","sidebarTitle":"Docker Hub","href":"/integrations/docker"},{"title":"Read Fathom Meeting Summaries From AI Agents","sidebarTitle":"Fathom","href":"/integrations/fathom"},{"title":"Give AI Agents Access to Fireflies Transcripts","sidebarTitle":"Fireflies","href":"/integrations/fireflies"},{"title":"Let AI Agents Work With GitLab Merge Requests","sidebarTitle":"GitLab","href":"/integrations/gitlab"},{"title":"Send Google Chat Messages From AI Agents","sidebarTitle":"Google Chat","href":"/integrations/google-chat"},{"title":"Let AI Agents Look Up and Update Google Contacts","sidebarTitle":"Google Contacts","href":"/integrations/google-contacts"},{"title":"Let AI Agents Read Your Granola Meeting Notes","sidebarTitle":"Granola","href":"/integrations/granola"},{"title":"Route Agent Package Installs Through JFrog","sidebarTitle":"JFrog Artifactory","href":"/integrations/jfrog-artifactory"},{"title":"Let AI Agents File and Update Linear Issues","sidebarTitle":"Linear","href":"/integrations/linear"},{"title":"Run Snowflake SQL From an Agent, Token Hidden","sidebarTitle":"Snowflake","href":"/integrations/snowflake"},{"title":"Use a Restricted Stripe Key With AI Agents","sidebarTitle":"Stripe","href":"/integrations/stripe"},{"title":"Let AI Agents Manage Trello Boards and Cards","sidebarTitle":"Trello","href":"/integrations/trello"},{"title":"Let AI Agents Deploy and Manage Vercel Projects","sidebarTitle":"Vercel","href":"/integrations/vercel"},{"title":"Let AI Agents Post and Read on X (Twitter)","sidebarTitle":"X","href":"/integrations/x"},{"title":"Let AI Agents Work Zoho CRM Leads and Deals","sidebarTitle":"Zoho CRM","href":"/integrations/zoho-crm"},{"title":"Let AI Agents Draft Word Docs in OneDrive","sidebarTitle":"Microsoft Word","href":"/integrations/microsoft-word"}]},{"group":"LLMs","pages":[{"title":"Connect Claude to Agents With a Token or API Key","sidebarTitle":"Anthropic","href":"/integrations/anthropic"},{"title":"Use OpenAI API Keys and Codex OAuth With AI Agents","sidebarTitle":"OpenAI","href":"/integrations/openai"}]},{"group":"External Vaults","pages":[{"title":"Bitwarden Vault: Sync Secrets to the Gateway","sidebarTitle":"Bitwarden","href":"/vaults/bitwarden"},{"title":"1Password Vault: Service Account Integration","sidebarTitle":"1Password","href":"/vaults/1password"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]}]},"basePath":"","title":"Query Coralogix Logs and Metrics From Agents - Buckle","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-0domioUa.js","DynamicMarkdown-BcGRTrw6.js","zoom-image-lightbox-DsiWwPWR.js","lightbox-handle-r17bVUz3.js"]}