[{"data":1,"prerenderedAt":1290},["ShallowReactive",2],{"navigation_docs":3,"-adapters-axiom":171,"-adapters-axiom-surround":1285},[4,30,55,105,122,136],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","/getting-started","1.getting-started",[9,14,19,24],{"title":10,"path":11,"stem":12,"icon":13},"Introduction","/getting-started/introduction","1.getting-started/1.introduction","i-lucide-info",{"title":15,"path":16,"stem":17,"icon":18},"Installation","/getting-started/installation","1.getting-started/2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quick Start","/getting-started/quick-start","1.getting-started/3.quick-start","i-lucide-zap",{"title":25,"path":26,"stem":27,"icon":28},"Agent Skills","/getting-started/agent-skills","1.getting-started/4.agent-skills","i-lucide-sparkles",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Core Concepts","/core-concepts","2.core-concepts",[35,40,45,50],{"title":36,"path":37,"stem":38,"icon":39},"Wide Events","/core-concepts/wide-events","2.core-concepts/1.wide-events","i-lucide-layers",{"title":41,"path":42,"stem":43,"icon":44},"Structured Errors","/core-concepts/structured-errors","2.core-concepts/2.structured-errors","i-lucide-shield-alert",{"title":46,"path":47,"stem":48,"icon":49},"Best Practices","/core-concepts/best-practices","2.core-concepts/3.best-practices","i-lucide-shield-check",{"title":51,"path":52,"stem":53,"icon":54},"Typed Fields","/core-concepts/typed-fields","2.core-concepts/4.typed-fields","i-simple-icons-typescript",{"title":56,"path":57,"stem":58,"children":59,"page":29},"Adapters","/adapters","3.adapters",[60,65,70,75,80,85,90,95,100],{"title":61,"path":62,"stem":63,"icon":64},"Overview","/adapters/overview","3.adapters/1.overview","i-custom-plug",{"title":66,"path":67,"stem":68,"icon":69},"Axiom","/adapters/axiom","3.adapters/2.axiom","i-custom-axiom",{"title":71,"path":72,"stem":73,"icon":74},"OTLP","/adapters/otlp","3.adapters/3.otlp","i-simple-icons-opentelemetry",{"title":76,"path":77,"stem":78,"icon":79},"PostHog","/adapters/posthog","3.adapters/4.posthog","i-simple-icons-posthog",{"title":81,"path":82,"stem":83,"icon":84},"Sentry","/adapters/sentry","3.adapters/5.sentry","i-simple-icons-sentry",{"title":86,"path":87,"stem":88,"icon":89},"Better Stack","/adapters/better-stack","3.adapters/6.better-stack","i-simple-icons-betterstack",{"title":91,"path":92,"stem":93,"icon":94},"Custom Adapters","/adapters/custom","3.adapters/7.custom","i-lucide-code",{"title":96,"path":97,"stem":98,"icon":99},"Pipeline","/adapters/pipeline","3.adapters/8.pipeline","i-lucide-workflow",{"title":101,"path":102,"stem":103,"icon":104},"Browser","/adapters/browser","3.adapters/9.browser","i-lucide-globe",{"title":106,"path":107,"stem":108,"children":109,"page":29},"Enrichers","/enrichers","4.enrichers",[110,113,118],{"title":61,"path":111,"stem":112,"icon":28},"/enrichers/overview","4.enrichers/1.overview",{"title":114,"path":115,"stem":116,"icon":117},"Built-in","/enrichers/built-in","4.enrichers/2.built-in","i-lucide-puzzle",{"title":119,"path":120,"stem":121,"icon":94},"Custom","/enrichers/custom","4.enrichers/3.custom",{"title":123,"path":124,"stem":125,"children":126,"page":29},"NuxtHub","/nuxthub","5.nuxthub",[127,131],{"title":61,"path":128,"stem":129,"icon":130},"/nuxthub/overview","5.nuxthub/1.overview","i-lucide-database",{"title":132,"path":133,"stem":134,"icon":135},"Retention","/nuxthub/retention","5.nuxthub/2.retention","i-lucide-clock",{"title":137,"path":138,"stem":139,"children":140,"page":29},"Examples","/examples","6.examples",[141,146,151,156,161,166],{"title":142,"path":143,"stem":144,"icon":145},"Next.js","/examples/nextjs","6.examples/1.nextjs","i-simple-icons-nextdotjs",{"title":147,"path":148,"stem":149,"icon":150},"TanStack Start","/examples/tanstack-start","6.examples/2.tanstack-start","i-custom-tanstack",{"title":152,"path":153,"stem":154,"icon":155},"Hono","/examples/hono","6.examples/3.hono","i-simple-icons-hono",{"title":157,"path":158,"stem":159,"icon":160},"Express","/examples/express","6.examples/4.express","i-simple-icons-express",{"title":162,"path":163,"stem":164,"icon":165},"Elysia","/examples/elysia","6.examples/5.elysia","i-custom-elysia",{"title":167,"path":168,"stem":169,"icon":170},"Fastify","/examples/fastify","6.examples/6.fastify","i-simple-icons-fastify",{"id":172,"title":173,"body":174,"description":1271,"extension":1272,"links":1273,"meta":1281,"navigation":1282,"path":67,"seo":1283,"stem":68,"__hash__":1284},"docs/3.adapters/2.axiom.md","Axiom Adapter",{"type":175,"value":176,"toc":1249},"minimark",[177,187,191,194,238,241,246,264,268,298,302,408,411,415,418,459,463,531,552,556,563,650,654,657,779,783,919,923,926,1011,1015,1019,1027,1030,1034,1041,1045,1048,1062,1066,1069,1216,1220,1245],[178,179,180,186],"p",{},[181,182,66],"a",{"href":183,"rel":184},"https://axiom.co",[185],"nofollow"," is a cloud-native logging platform with powerful querying capabilities. The evlog Axiom adapter sends your wide events directly to Axiom datasets.",[188,189,15],"h2",{"id":190},"installation",[178,192,193],{},"The Axiom adapter comes bundled with evlog:",[195,196,202],"pre",{"className":197,"code":198,"filename":199,"language":200,"meta":201,"style":201},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createAxiomDrain } from 'evlog/axiom'\n","server/plugins/evlog-drain.ts","typescript","",[203,204,205],"code",{"__ignoreMap":201},[206,207,210,214,218,222,225,228,231,235],"span",{"class":208,"line":209},"line",1,[206,211,213],{"class":212},"s7zQu","import",[206,215,217],{"class":216},"sMK4o"," {",[206,219,221],{"class":220},"sTEyZ"," createAxiomDrain",[206,223,224],{"class":216}," }",[206,226,227],{"class":212}," from",[206,229,230],{"class":216}," '",[206,232,234],{"class":233},"sfazB","evlog/axiom",[206,236,237],{"class":216},"'\n",[188,239,20],{"id":240},"quick-start",[242,243,245],"h3",{"id":244},"_1-get-your-axiom-credentials","1. Get your Axiom credentials",[247,248,249,258,261],"ol",{},[250,251,252,253],"li",{},"Create an ",[181,254,257],{"href":255,"rel":256},"https://app.axiom.co",[185],"Axiom account",[250,259,260],{},"Create a dataset for your logs",[250,262,263],{},"Generate an API token with ingest permissions",[242,265,267],{"id":266},"_2-set-environment-variables","2. Set environment variables",[195,269,274],{"className":270,"code":271,"filename":272,"language":273,"meta":201,"style":201},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_AXIOM_TOKEN=xaat-your-token-here\nNUXT_AXIOM_DATASET=your-dataset-name\n",".env","bash",[203,275,276,287],{"__ignoreMap":201},[206,277,278,281,284],{"class":208,"line":209},[206,279,280],{"class":220},"NUXT_AXIOM_TOKEN",[206,282,283],{"class":216},"=",[206,285,286],{"class":233},"xaat-your-token-here\n",[206,288,290,293,295],{"class":208,"line":289},2,[206,291,292],{"class":220},"NUXT_AXIOM_DATASET",[206,294,283],{"class":216},[206,296,297],{"class":233},"your-dataset-name\n",[242,299,301],{"id":300},"_3-create-the-drain-plugin","3. Create the drain plugin",[195,303,305],{"className":197,"code":304,"filename":199,"language":200,"meta":201,"style":201},"import { createAxiomDrain } from 'evlog/axiom'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createAxiomDrain())\n})\n",[203,306,307,325,331,363,399],{"__ignoreMap":201},[206,308,309,311,313,315,317,319,321,323],{"class":208,"line":209},[206,310,213],{"class":212},[206,312,217],{"class":216},[206,314,221],{"class":220},[206,316,224],{"class":216},[206,318,227],{"class":212},[206,320,230],{"class":216},[206,322,234],{"class":233},[206,324,237],{"class":216},[206,326,327],{"class":208,"line":289},[206,328,330],{"emptyLinePlaceholder":329},true,"\n",[206,332,334,337,340,344,347,349,353,356,360],{"class":208,"line":333},3,[206,335,336],{"class":212},"export",[206,338,339],{"class":212}," default",[206,341,343],{"class":342},"s2Zo4"," defineNitroPlugin",[206,345,346],{"class":220},"(",[206,348,346],{"class":216},[206,350,352],{"class":351},"sHdIc","nitroApp",[206,354,355],{"class":216},")",[206,357,359],{"class":358},"spNyl"," =>",[206,361,362],{"class":216}," {\n",[206,364,366,369,372,375,377,380,383,386,389,391,394,396],{"class":208,"line":365},4,[206,367,368],{"class":220},"  nitroApp",[206,370,371],{"class":216},".",[206,373,374],{"class":220},"hooks",[206,376,371],{"class":216},[206,378,379],{"class":342},"hook",[206,381,346],{"class":382},"swJcz",[206,384,385],{"class":216},"'",[206,387,388],{"class":233},"evlog:drain",[206,390,385],{"class":216},[206,392,393],{"class":216},",",[206,395,221],{"class":342},[206,397,398],{"class":382},"())\n",[206,400,402,405],{"class":208,"line":401},5,[206,403,404],{"class":216},"}",[206,406,407],{"class":220},")\n",[178,409,410],{},"That's it! Your logs will now appear in Axiom.",[188,412,414],{"id":413},"configuration","Configuration",[178,416,417],{},"The adapter reads configuration from multiple sources (highest priority first):",[247,419,420,430,439,446],{},[250,421,422,426,427],{},[423,424,425],"strong",{},"Overrides"," passed to ",[203,428,429],{},"createAxiomDrain()",[250,431,432,435,436],{},[423,433,434],{},"Runtime config"," at ",[203,437,438],{},"runtimeConfig.evlog.axiom",[250,440,441,435,443],{},[423,442,434],{},[203,444,445],{},"runtimeConfig.axiom",[250,447,448,451,452,455,456,355],{},[423,449,450],{},"Environment variables"," (",[203,453,454],{},"NUXT_AXIOM_*"," or ",[203,457,458],{},"AXIOM_*",[242,460,462],{"id":461},"environment-variables","Environment Variables",[464,465,466,479],"table",{},[467,468,469],"thead",{},[470,471,472,476],"tr",{},[473,474,475],"th",{},"Variable",[473,477,478],{},"Description",[480,481,482,492,501,511,521],"tbody",{},[470,483,484,489],{},[485,486,487],"td",{},[203,488,280],{},[485,490,491],{},"API token with ingest permissions",[470,493,494,498],{},[485,495,496],{},[203,497,292],{},[485,499,500],{},"Dataset name to ingest logs into",[470,502,503,508],{},[485,504,505],{},[203,506,507],{},"NUXT_AXIOM_ORG_ID",[485,509,510],{},"Organization ID (required for Personal Access Tokens)",[470,512,513,518],{},[485,514,515],{},[203,516,517],{},"NUXT_AXIOM_EDGE_URL",[485,519,520],{},"Edge base URL for ingest/query (for edge deployments)",[470,522,523,528],{},[485,524,525],{},[203,526,527],{},"NUXT_AXIOM_URL",[485,529,530],{},"API base URL (legacy/default ingest endpoint)",[178,532,533,534,537,538,537,541,537,544,547,548,551],{},"You can also use ",[203,535,536],{},"AXIOM_TOKEN",", ",[203,539,540],{},"AXIOM_DATASET",[203,542,543],{},"AXIOM_ORG_ID",[203,545,546],{},"AXIOM_EDGE_URL",", and ",[203,549,550],{},"AXIOM_URL"," as fallbacks.",[242,553,555],{"id":554},"runtime-config","Runtime Config",[178,557,558,559,562],{},"Configure via ",[203,560,561],{},"nuxt.config.ts"," for type-safe configuration:",[195,564,566],{"className":197,"code":565,"filename":561,"language":200,"meta":201,"style":201},"export default defineNuxtConfig({\n  runtimeConfig: {\n    axiom: {\n      token: '', // Set via NUXT_AXIOM_TOKEN\n      dataset: '', // Set via NUXT_AXIOM_DATASET\n    },\n  },\n})\n",[203,567,568,582,592,601,617,631,637,643],{"__ignoreMap":201},[206,569,570,572,574,577,579],{"class":208,"line":209},[206,571,336],{"class":212},[206,573,339],{"class":212},[206,575,576],{"class":342}," defineNuxtConfig",[206,578,346],{"class":220},[206,580,581],{"class":216},"{\n",[206,583,584,587,590],{"class":208,"line":289},[206,585,586],{"class":382},"  runtimeConfig",[206,588,589],{"class":216},":",[206,591,362],{"class":216},[206,593,594,597,599],{"class":208,"line":333},[206,595,596],{"class":382},"    axiom",[206,598,589],{"class":216},[206,600,362],{"class":216},[206,602,603,606,608,611,613],{"class":208,"line":365},[206,604,605],{"class":382},"      token",[206,607,589],{"class":216},[206,609,610],{"class":216}," ''",[206,612,393],{"class":216},[206,614,616],{"class":615},"sHwdD"," // Set via NUXT_AXIOM_TOKEN\n",[206,618,619,622,624,626,628],{"class":208,"line":401},[206,620,621],{"class":382},"      dataset",[206,623,589],{"class":216},[206,625,610],{"class":216},[206,627,393],{"class":216},[206,629,630],{"class":615}," // Set via NUXT_AXIOM_DATASET\n",[206,632,634],{"class":208,"line":633},6,[206,635,636],{"class":216},"    },\n",[206,638,640],{"class":208,"line":639},7,[206,641,642],{"class":216},"  },\n",[206,644,646,648],{"class":208,"line":645},8,[206,647,404],{"class":216},[206,649,407],{"class":220},[242,651,653],{"id":652},"override-options","Override Options",[178,655,656],{},"Pass options directly to override any configuration:",[195,658,660],{"className":197,"code":659,"filename":199,"language":200,"meta":201,"style":201},"import { createAxiomDrain } from 'evlog/axiom'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('evlog:drain', createAxiomDrain({\n    dataset: 'production-logs',\n    timeout: 10000, // 10 seconds\n  }))\n})\n",[203,661,662,680,684,704,732,749,765,773],{"__ignoreMap":201},[206,663,664,666,668,670,672,674,676,678],{"class":208,"line":209},[206,665,213],{"class":212},[206,667,217],{"class":216},[206,669,221],{"class":220},[206,671,224],{"class":216},[206,673,227],{"class":212},[206,675,230],{"class":216},[206,677,234],{"class":233},[206,679,237],{"class":216},[206,681,682],{"class":208,"line":289},[206,683,330],{"emptyLinePlaceholder":329},[206,685,686,688,690,692,694,696,698,700,702],{"class":208,"line":333},[206,687,336],{"class":212},[206,689,339],{"class":212},[206,691,343],{"class":342},[206,693,346],{"class":220},[206,695,346],{"class":216},[206,697,352],{"class":351},[206,699,355],{"class":216},[206,701,359],{"class":358},[206,703,362],{"class":216},[206,705,706,708,710,712,714,716,718,720,722,724,726,728,730],{"class":208,"line":365},[206,707,368],{"class":220},[206,709,371],{"class":216},[206,711,374],{"class":220},[206,713,371],{"class":216},[206,715,379],{"class":342},[206,717,346],{"class":382},[206,719,385],{"class":216},[206,721,388],{"class":233},[206,723,385],{"class":216},[206,725,393],{"class":216},[206,727,221],{"class":342},[206,729,346],{"class":382},[206,731,581],{"class":216},[206,733,734,737,739,741,744,746],{"class":208,"line":401},[206,735,736],{"class":382},"    dataset",[206,738,589],{"class":216},[206,740,230],{"class":216},[206,742,743],{"class":233},"production-logs",[206,745,385],{"class":216},[206,747,748],{"class":216},",\n",[206,750,751,754,756,760,762],{"class":208,"line":633},[206,752,753],{"class":382},"    timeout",[206,755,589],{"class":216},[206,757,759],{"class":758},"sbssI"," 10000",[206,761,393],{"class":216},[206,763,764],{"class":615}," // 10 seconds\n",[206,766,767,770],{"class":208,"line":639},[206,768,769],{"class":216},"  }",[206,771,772],{"class":382},"))\n",[206,774,775,777],{"class":208,"line":645},[206,776,404],{"class":216},[206,778,407],{"class":220},[242,780,782],{"id":781},"full-configuration-reference","Full Configuration Reference",[464,784,785,800],{},[467,786,787],{},[470,788,789,792,795,798],{},[473,790,791],{},"Option",[473,793,794],{},"Type",[473,796,797],{},"Default",[473,799,478],{},[480,801,802,820,836,852,875,899],{},[470,803,804,809,814,817],{},[485,805,806],{},[203,807,808],{},"token",[485,810,811],{},[203,812,813],{},"string",[485,815,816],{},"-",[485,818,819],{},"API token (required)",[470,821,822,827,831,833],{},[485,823,824],{},[203,825,826],{},"dataset",[485,828,829],{},[203,830,813],{},[485,832,816],{},[485,834,835],{},"Dataset name (required)",[470,837,838,843,847,849],{},[485,839,840],{},[203,841,842],{},"orgId",[485,844,845],{},[203,846,813],{},[485,848,816],{},[485,850,851],{},"Organization ID (for PAT tokens)",[470,853,854,859,863,865],{},[485,855,856],{},[203,857,858],{},"edgeUrl",[485,860,861],{},[203,862,813],{},[485,864,816],{},[485,866,867,868,871,872],{},"Edge URL for ingest. Uses ",[203,869,870],{},"/v1/ingest/{dataset}"," when no path is provided; custom paths are used as-is (trailing slash trimmed). Mutually exclusive with ",[203,873,874],{},"baseUrl",[470,876,877,881,885,890],{},[485,878,879],{},[203,880,874],{},[485,882,883],{},[203,884,813],{},[485,886,887],{},[203,888,889],{},"https://api.axiom.co",[485,891,892,893,896,897],{},"API base URL (",[203,894,895],{},"/v1/datasets/{dataset}/ingest","), mutually exclusive with ",[203,898,858],{},[470,900,901,906,911,916],{},[485,902,903],{},[203,904,905],{},"timeout",[485,907,908],{},[203,909,910],{},"number",[485,912,913],{},[203,914,915],{},"5000",[485,917,918],{},"Request timeout in milliseconds",[188,920,922],{"id":921},"querying-logs-in-axiom","Querying Logs in Axiom",[178,924,925],{},"evlog sends structured wide events that are perfect for Axiom's APL query language:",[195,927,931],{"className":928,"code":929,"language":930,"meta":201,"style":201},"language-apl shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","// Find slow requests\n['your-dataset']\n| where duration > 1000\n| project timestamp, path, duration, status\n\n// Error rate by endpoint\n['your-dataset']\n| where level == \"error\"\n| summarize count() by path\n| order by count_ desc\n\n// Request volume over time\n['your-dataset']\n| summarize count() by bin(timestamp, 1h)\n| render timechart\n","apl",[203,932,933,938,943,948,953,957,962,966,971,977,983,988,994,999,1005],{"__ignoreMap":201},[206,934,935],{"class":208,"line":209},[206,936,937],{},"// Find slow requests\n",[206,939,940],{"class":208,"line":289},[206,941,942],{},"['your-dataset']\n",[206,944,945],{"class":208,"line":333},[206,946,947],{},"| where duration > 1000\n",[206,949,950],{"class":208,"line":365},[206,951,952],{},"| project timestamp, path, duration, status\n",[206,954,955],{"class":208,"line":401},[206,956,330],{"emptyLinePlaceholder":329},[206,958,959],{"class":208,"line":633},[206,960,961],{},"// Error rate by endpoint\n",[206,963,964],{"class":208,"line":639},[206,965,942],{},[206,967,968],{"class":208,"line":645},[206,969,970],{},"| where level == \"error\"\n",[206,972,974],{"class":208,"line":973},9,[206,975,976],{},"| summarize count() by path\n",[206,978,980],{"class":208,"line":979},10,[206,981,982],{},"| order by count_ desc\n",[206,984,986],{"class":208,"line":985},11,[206,987,330],{"emptyLinePlaceholder":329},[206,989,991],{"class":208,"line":990},12,[206,992,993],{},"// Request volume over time\n",[206,995,997],{"class":208,"line":996},13,[206,998,942],{},[206,1000,1002],{"class":208,"line":1001},14,[206,1003,1004],{},"| summarize count() by bin(timestamp, 1h)\n",[206,1006,1008],{"class":208,"line":1007},15,[206,1009,1010],{},"| render timechart\n",[188,1012,1014],{"id":1013},"troubleshooting","Troubleshooting",[242,1016,1018],{"id":1017},"missing-dataset-or-token-error","Missing dataset or token error",[195,1020,1025],{"className":1021,"code":1023,"language":1024},[1022],"language-text","[evlog/axiom] Missing dataset or token. Set NUXT_AXIOM_DATASET and NUXT_AXIOM_TOKEN\n","text",[203,1026,1023],{"__ignoreMap":201},[178,1028,1029],{},"Make sure your environment variables are set and the server was restarted after adding them.",[242,1031,1033],{"id":1032},"_401-unauthorized","401 Unauthorized",[178,1035,1036,1037,1040],{},"Your token may be invalid or expired. Generate a new token in the Axiom dashboard with ",[423,1038,1039],{},"Ingest"," permissions.",[242,1042,1044],{"id":1043},"_403-forbidden-with-pat-tokens","403 Forbidden with PAT tokens",[178,1046,1047],{},"Personal Access Tokens require an organization ID:",[195,1049,1051],{"className":270,"code":1050,"filename":272,"language":273,"meta":201,"style":201},"NUXT_AXIOM_ORG_ID=your-org-id\n",[203,1052,1053],{"__ignoreMap":201},[206,1054,1055,1057,1059],{"class":208,"line":209},[206,1056,507],{"class":220},[206,1058,283],{"class":216},[206,1060,1061],{"class":233},"your-org-id\n",[188,1063,1065],{"id":1064},"direct-api-usage","Direct API Usage",[178,1067,1068],{},"For advanced use cases, you can use the lower-level functions:",[195,1070,1073],{"className":197,"code":1071,"filename":1072,"language":200,"meta":201,"style":201},"import { sendToAxiom, sendBatchToAxiom } from 'evlog/axiom'\n\n// Send a single event\nawait sendToAxiom(event, {\n  token: 'xaat-xxx',\n  dataset: 'logs',\n})\n\n// Send multiple events in one request\nawait sendBatchToAxiom(events, {\n  token: 'xaat-xxx',\n  dataset: 'logs',\n})\n","server/utils/axiom.ts",[203,1074,1075,1099,1103,1108,1122,1138,1154,1160,1164,1169,1182,1196,1210],{"__ignoreMap":201},[206,1076,1077,1079,1081,1084,1086,1089,1091,1093,1095,1097],{"class":208,"line":209},[206,1078,213],{"class":212},[206,1080,217],{"class":216},[206,1082,1083],{"class":220}," sendToAxiom",[206,1085,393],{"class":216},[206,1087,1088],{"class":220}," sendBatchToAxiom",[206,1090,224],{"class":216},[206,1092,227],{"class":212},[206,1094,230],{"class":216},[206,1096,234],{"class":233},[206,1098,237],{"class":216},[206,1100,1101],{"class":208,"line":289},[206,1102,330],{"emptyLinePlaceholder":329},[206,1104,1105],{"class":208,"line":333},[206,1106,1107],{"class":615},"// Send a single event\n",[206,1109,1110,1113,1115,1118,1120],{"class":208,"line":365},[206,1111,1112],{"class":212},"await",[206,1114,1083],{"class":342},[206,1116,1117],{"class":220},"(event",[206,1119,393],{"class":216},[206,1121,362],{"class":216},[206,1123,1124,1127,1129,1131,1134,1136],{"class":208,"line":401},[206,1125,1126],{"class":382},"  token",[206,1128,589],{"class":216},[206,1130,230],{"class":216},[206,1132,1133],{"class":233},"xaat-xxx",[206,1135,385],{"class":216},[206,1137,748],{"class":216},[206,1139,1140,1143,1145,1147,1150,1152],{"class":208,"line":633},[206,1141,1142],{"class":382},"  dataset",[206,1144,589],{"class":216},[206,1146,230],{"class":216},[206,1148,1149],{"class":233},"logs",[206,1151,385],{"class":216},[206,1153,748],{"class":216},[206,1155,1156,1158],{"class":208,"line":639},[206,1157,404],{"class":216},[206,1159,407],{"class":220},[206,1161,1162],{"class":208,"line":645},[206,1163,330],{"emptyLinePlaceholder":329},[206,1165,1166],{"class":208,"line":973},[206,1167,1168],{"class":615},"// Send multiple events in one request\n",[206,1170,1171,1173,1175,1178,1180],{"class":208,"line":979},[206,1172,1112],{"class":212},[206,1174,1088],{"class":342},[206,1176,1177],{"class":220},"(events",[206,1179,393],{"class":216},[206,1181,362],{"class":216},[206,1183,1184,1186,1188,1190,1192,1194],{"class":208,"line":985},[206,1185,1126],{"class":382},[206,1187,589],{"class":216},[206,1189,230],{"class":216},[206,1191,1133],{"class":233},[206,1193,385],{"class":216},[206,1195,748],{"class":216},[206,1197,1198,1200,1202,1204,1206,1208],{"class":208,"line":990},[206,1199,1142],{"class":382},[206,1201,589],{"class":216},[206,1203,230],{"class":216},[206,1205,1149],{"class":233},[206,1207,385],{"class":216},[206,1209,748],{"class":216},[206,1211,1212,1214],{"class":208,"line":996},[206,1213,404],{"class":216},[206,1215,407],{"class":220},[188,1217,1219],{"id":1218},"next-steps","Next Steps",[1221,1222,1223,1229,1235,1240],"ul",{},[250,1224,1225,1228],{},[181,1226,1227],{"href":72},"OTLP Adapter"," - Send logs via OpenTelemetry Protocol",[250,1230,1231,1234],{},[181,1232,1233],{"href":77},"PostHog Adapter"," - Send logs to PostHog",[250,1236,1237,1239],{},[181,1238,91],{"href":92}," - Build your own adapter",[250,1241,1242,1244],{},[181,1243,46],{"href":47}," - Security and production tips",[1246,1247,1248],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":201,"searchDepth":289,"depth":289,"links":1250},[1251,1252,1257,1263,1264,1269,1270],{"id":190,"depth":289,"text":15},{"id":240,"depth":289,"text":20,"children":1253},[1254,1255,1256],{"id":244,"depth":333,"text":245},{"id":266,"depth":333,"text":267},{"id":300,"depth":333,"text":301},{"id":413,"depth":289,"text":414,"children":1258},[1259,1260,1261,1262],{"id":461,"depth":333,"text":462},{"id":554,"depth":333,"text":555},{"id":652,"depth":333,"text":653},{"id":781,"depth":333,"text":782},{"id":921,"depth":289,"text":922},{"id":1013,"depth":289,"text":1014,"children":1265},[1266,1267,1268],{"id":1017,"depth":333,"text":1018},{"id":1032,"depth":333,"text":1033},{"id":1043,"depth":333,"text":1044},{"id":1064,"depth":289,"text":1065},{"id":1218,"depth":289,"text":1219},"Send wide events to Axiom for powerful querying, dashboards, and alerting. Zero-config setup with environment variables and automatic batching.","md",[1274,1280],{"label":1275,"icon":1276,"to":255,"target":1277,"color":1278,"variant":1279},"Axiom Dashboard","i-lucide-external-link","_blank","neutral","subtle",{"label":1227,"icon":74,"to":72,"color":1278,"variant":1279},{},{"title":66,"icon":69},{"title":173,"description":1271},"0cquPIqt9hmm9R0I8h0cQlsoNOH3_xPavWVCyj9ANPM",[1286,1288],{"title":61,"path":62,"stem":63,"description":1287,"icon":64,"children":-1},"Send your logs to external services with evlog adapters. Built-in support for popular observability platforms and custom destinations.",{"title":71,"path":72,"stem":73,"description":1289,"icon":74,"children":-1},"Send logs via OpenTelemetry Protocol (OTLP) to Grafana, Datadog, Honeycomb, and any compatible backend. Supports gRPC and HTTP transports.",1772883106927]