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