{"id":"youtube:dMpRk1LwyFo","source":"youtube","sourceId":"dMpRk1LwyFo","account":"robotostudio","type":"video","title":"Sanity Log Analyzer - Find What's Eating Your Sanity Usage","body":"A quick walkthrough of Sanity Log Analyzer, our internal tool that turns your Sanity request logs into a usage report. It shows which queries, images and files are eating your usage.","bodyFormat":"text","sourceUrl":"https://www.youtube.com/watch?v=dMpRk1LwyFo","canonicalUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage","sourceUrls":["https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"],"authorIds":[],"publishedAt":"2026-09-18T00:00:00.000Z","checkedAt":"2026-10-12T04:00:25.627Z","language":"en","visibility":"public","topics":["sanity"],"gaps":[],"segments":[{"id":"segment-1","startMs":3990,"endMs":4000,"text":"Hey, how's it going?"},{"id":"segment-2","startMs":4000,"endMs":5470,"text":"Hey, how's it going?\nIn today's video, I'm going to talk"},{"id":"segment-3","startMs":5470,"endMs":5480,"text":"In today's video, I'm going to talk"},{"id":"segment-4","startMs":5480,"endMs":7670,"text":"In today's video, I'm going to talk\nabout our own internal tool, which we"},{"id":"segment-5","startMs":7670,"endMs":7680,"text":"about our own internal tool, which we"},{"id":"segment-6","startMs":7680,"endMs":10270,"text":"about our own internal tool, which we\ncall Sanity Log Analyzer."},{"id":"segment-7","startMs":10270,"endMs":10280,"text":"call Sanity Log Analyzer."},{"id":"segment-8","startMs":10280,"endMs":12470,"text":"call Sanity Log Analyzer.\nUm Sanity Log Analyzer essentially gives"},{"id":"segment-9","startMs":12470,"endMs":12480,"text":"Um Sanity Log Analyzer essentially gives"},{"id":"segment-10","startMs":12480,"endMs":15550,"text":"Um Sanity Log Analyzer essentially gives\nyou a log report of your Sanity usage"},{"id":"segment-11","startMs":15550,"endMs":15560,"text":"you a log report of your Sanity usage"},{"id":"segment-12","startMs":15560,"endMs":17470,"text":"you a log report of your Sanity usage\nand gives you suggestion on where you"},{"id":"segment-13","startMs":17470,"endMs":17480,"text":"and gives you suggestion on where you"},{"id":"segment-14","startMs":17480,"endMs":19870,"text":"and gives you suggestion on where you\ncan optimize your Sanity Studio."},{"id":"segment-15","startMs":19870,"endMs":19880,"text":"can optimize your Sanity Studio."},{"id":"segment-16","startMs":19880,"endMs":21590,"text":"can optimize your Sanity Studio.\nUm you'd be surprised what you find out,"},{"id":"segment-17","startMs":21590,"endMs":21600,"text":"Um you'd be surprised what you find out,"},{"id":"segment-18","startMs":21600,"endMs":24190,"text":"Um you'd be surprised what you find out,\nby the way. So, test it out."},{"id":"segment-19","startMs":24190,"endMs":24200,"text":"by the way. So, test it out."},{"id":"segment-20","startMs":24200,"endMs":26150,"text":"by the way. So, test it out.\nUh we built this tool primarily for"},{"id":"segment-21","startMs":26150,"endMs":26160,"text":"Uh we built this tool primarily for"},{"id":"segment-22","startMs":26160,"endMs":28790,"text":"Uh we built this tool primarily for\ndevelopers and larger teams, uh but this"},{"id":"segment-23","startMs":28790,"endMs":28800,"text":"developers and larger teams, uh but this"},{"id":"segment-24","startMs":28800,"endMs":30430,"text":"developers and larger teams, uh but this\nis not to discourage small teams. Go"},{"id":"segment-25","startMs":30430,"endMs":30440,"text":"is not to discourage small teams. Go"},{"id":"segment-26","startMs":30440,"endMs":32550,"text":"is not to discourage small teams. Go\nahead and try it and let us know if you"},{"id":"segment-27","startMs":32550,"endMs":32560,"text":"ahead and try it and let us know if you"},{"id":"segment-28","startMs":32560,"endMs":34150,"text":"ahead and try it and let us know if you\nif you liked it."},{"id":"segment-29","startMs":34150,"endMs":34160,"text":"if you liked it."},{"id":"segment-30","startMs":34160,"endMs":36350,"text":"if you liked it.\nOkay, so this is where you will go to"},{"id":"segment-31","startMs":36350,"endMs":36360,"text":"Okay, so this is where you will go to"},{"id":"segment-32","startMs":36360,"endMs":37790,"text":"Okay, so this is where you will go to\nget your logs."},{"id":"segment-33","startMs":37790,"endMs":37800,"text":"get your logs."},{"id":"segment-34","startMs":37800,"endMs":40030,"text":"get your logs.\nYou go in the user section and you go"},{"id":"segment-35","startMs":40030,"endMs":40040,"text":"You go in the user section and you go"},{"id":"segment-36","startMs":40040,"endMs":41950,"text":"You go in the user section and you go\nall the way down and then you download"},{"id":"segment-37","startMs":41950,"endMs":41960,"text":"all the way down and then you download"},{"id":"segment-38","startMs":41960,"endMs":42950,"text":"all the way down and then you download\nit."},{"id":"segment-39","startMs":42950,"endMs":42960,"text":"it."},{"id":"segment-40","startMs":42960,"endMs":45950,"text":"it.\nAnd then wait for it to get downloaded."},{"id":"segment-41","startMs":45950,"endMs":45960,"text":"And then wait for it to get downloaded."},{"id":"segment-42","startMs":45960,"endMs":49110,"text":"And then wait for it to get downloaded.\nOkay, so one thing Mac does annoyingly"},{"id":"segment-43","startMs":49110,"endMs":49120,"text":"Okay, so one thing Mac does annoyingly"},{"id":"segment-44","startMs":49120,"endMs":51390,"text":"Okay, so one thing Mac does annoyingly\nis that sometimes it adds space. So,"},{"id":"segment-45","startMs":51390,"endMs":51400,"text":"is that sometimes it adds space. So,"},{"id":"segment-46","startMs":51400,"endMs":53990,"text":"is that sometimes it adds space. So,\nmake sure after you've unzipped this,"},{"id":"segment-47","startMs":53990,"endMs":54000,"text":"make sure after you've unzipped this,"},{"id":"segment-48","startMs":54000,"endMs":55430,"text":"make sure after you've unzipped this,\nyou rename it."},{"id":"segment-49","startMs":55430,"endMs":55440,"text":"you rename it."},{"id":"segment-50","startMs":55440,"endMs":58950,"text":"you rename it.\nSo, I'm just going to call it log. Okay,"},{"id":"segment-51","startMs":58950,"endMs":58960,"text":"So, I'm just going to call it log. Okay,"},{"id":"segment-52","startMs":58960,"endMs":61110,"text":"So, I'm just going to call it log. Okay,\nso now we will run this and get the log"},{"id":"segment-53","startMs":61110,"endMs":61120,"text":"so now we will run this and get the log"},{"id":"segment-54","startMs":61120,"endMs":64430,"text":"so now we will run this and get the log\nanalyzer started. Also, I'm very lazy at"},{"id":"segment-55","startMs":64430,"endMs":64440,"text":"analyzer started. Also, I'm very lazy at"},{"id":"segment-56","startMs":64440,"endMs":65870,"text":"analyzer started. Also, I'm very lazy at\ntyping things, so I have my own"},{"id":"segment-57","startMs":65870,"endMs":65880,"text":"typing things, so I have my own"},{"id":"segment-58","startMs":65880,"endMs":68190,"text":"typing things, so I have my own\nshortcut. Please don't judge me."},{"id":"segment-59","startMs":68190,"endMs":68200,"text":"shortcut. Please don't judge me."},{"id":"segment-60","startMs":68200,"endMs":69750,"text":"shortcut. Please don't judge me.\nThis is what you do."},{"id":"segment-61","startMs":69750,"endMs":69760,"text":"This is what you do."},{"id":"segment-62","startMs":69760,"endMs":71550,"text":"This is what you do.\nAnd we get the name uh"},{"id":"segment-63","startMs":71550,"endMs":71560,"text":"And we get the name uh"},{"id":"segment-64","startMs":71560,"endMs":73190,"text":"And we get the name uh\nlog.nd.json."},{"id":"segment-65","startMs":73190,"endMs":73200,"text":"log.nd.json."},{"id":"segment-66","startMs":73200,"endMs":74190,"text":"log.nd.json.\nOkay."},{"id":"segment-67","startMs":74190,"endMs":74200,"text":"Okay."},{"id":"segment-68","startMs":74200,"endMs":76550,"text":"Okay.\nThere we go. So, here we have our Sanity"},{"id":"segment-69","startMs":76550,"endMs":76560,"text":"There we go. So, here we have our Sanity"},{"id":"segment-70","startMs":76560,"endMs":78350,"text":"There we go. So, here we have our Sanity\nLog Analyzer."},{"id":"segment-71","startMs":78350,"endMs":78360,"text":"Log Analyzer."},{"id":"segment-72","startMs":78360,"endMs":79230,"text":"Log Analyzer.\nUm"},{"id":"segment-73","startMs":79230,"endMs":79240,"text":"Um"},{"id":"segment-74","startMs":79240,"endMs":81510,"text":"Um\nAs you can see, um it gives you an"},{"id":"segment-75","startMs":81510,"endMs":81520,"text":"As you can see, um it gives you an"},{"id":"segment-76","startMs":81520,"endMs":83870,"text":"As you can see, um it gives you an\noverall also let me pull this in light"},{"id":"segment-77","startMs":83870,"endMs":83880,"text":"overall also let me pull this in light"},{"id":"segment-78","startMs":83880,"endMs":86550,"text":"overall also let me pull this in light\nmode. It gives you an overall report of"},{"id":"segment-79","startMs":86550,"endMs":86560,"text":"mode. It gives you an overall report of"},{"id":"segment-80","startMs":86560,"endMs":88310,"text":"mode. It gives you an overall report of\nuh you know, where you're spending your"},{"id":"segment-81","startMs":88310,"endMs":88320,"text":"uh you know, where you're spending your"},{"id":"segment-82","startMs":88320,"endMs":90630,"text":"uh you know, where you're spending your\nSanity tokens the most. So, in our"},{"id":"segment-83","startMs":90630,"endMs":90640,"text":"Sanity tokens the most. So, in our"},{"id":"segment-84","startMs":90640,"endMs":93150,"text":"Sanity tokens the most. So, in our\nexample, um our settings costing us a"},{"id":"segment-85","startMs":93150,"endMs":93160,"text":"example, um our settings costing us a"},{"id":"segment-86","startMs":93160,"endMs":95550,"text":"example, um our settings costing us a\nlot of money, we need to optimize this."},{"id":"segment-87","startMs":95550,"endMs":95560,"text":"lot of money, we need to optimize this."},{"id":"segment-88","startMs":95560,"endMs":97910,"text":"lot of money, we need to optimize this.\nAnd as you go down,"},{"id":"segment-89","startMs":97910,"endMs":97920,"text":"And as you go down,"},{"id":"segment-90","startMs":97920,"endMs":100590,"text":"And as you go down,\nyou can see what images are costing a"},{"id":"segment-91","startMs":100590,"endMs":100600,"text":"you can see what images are costing a"},{"id":"segment-92","startMs":100600,"endMs":102110,"text":"you can see what images are costing a\nlot of money,"},{"id":"segment-93","startMs":102110,"endMs":102120,"text":"lot of money,"},{"id":"segment-94","startMs":102120,"endMs":104750,"text":"lot of money,\nor should I say Sanity tokens, sorry."},{"id":"segment-95","startMs":104750,"endMs":104760,"text":"or should I say Sanity tokens, sorry."},{"id":"segment-96","startMs":104760,"endMs":106110,"text":"or should I say Sanity tokens, sorry.\nUm"},{"id":"segment-97","startMs":106110,"endMs":106120,"text":"Um"},{"id":"segment-98","startMs":106120,"endMs":107750,"text":"Um\nAgain, this is this is another"},{"id":"segment-99","startMs":107750,"endMs":107760,"text":"Again, this is this is another"},{"id":"segment-100","startMs":107760,"endMs":110070,"text":"Again, this is this is another\ninteresting finding. This file needs to"},{"id":"segment-101","startMs":110070,"endMs":110080,"text":"interesting finding. This file needs to"},{"id":"segment-102","startMs":110080,"endMs":111750,"text":"interesting finding. This file needs to\nbe optimized."},{"id":"segment-103","startMs":111750,"endMs":111760,"text":"be optimized."},{"id":"segment-104","startMs":111760,"endMs":113590,"text":"be optimized.\nIt's a big chunky one."},{"id":"segment-105","startMs":113590,"endMs":113600,"text":"It's a big chunky one."},{"id":"segment-106","startMs":113600,"endMs":115430,"text":"It's a big chunky one.\nWhen traffic lands, okay, some high"},{"id":"segment-107","startMs":115430,"endMs":115440,"text":"When traffic lands, okay, some high"},{"id":"segment-108","startMs":115440,"endMs":117390,"text":"When traffic lands, okay, some high\ntraffic on this day."},{"id":"segment-109","startMs":117390,"endMs":117400,"text":"traffic on this day."},{"id":"segment-110","startMs":117400,"endMs":119710,"text":"traffic on this day.\nThis is interesting. Local host, you"},{"id":"segment-111","startMs":119710,"endMs":119720,"text":"This is interesting. Local host, you"},{"id":"segment-112","startMs":119720,"endMs":121350,"text":"This is interesting. Local host, you\nknow, doesn't surprise me. Our"},{"id":"segment-113","startMs":121350,"endMs":121360,"text":"know, doesn't surprise me. Our"},{"id":"segment-114","startMs":121360,"endMs":123670,"text":"know, doesn't surprise me. Our\ndevelopers are always on it."},{"id":"segment-115","startMs":123670,"endMs":123680,"text":"developers are always on it."},{"id":"segment-116","startMs":123680,"endMs":125510,"text":"developers are always on it.\nOh, interesting."},{"id":"segment-117","startMs":125510,"endMs":125520,"text":"Oh, interesting."},{"id":"segment-118","startMs":125520,"endMs":127430,"text":"Oh, interesting.\nShowing the IPs as well."},{"id":"segment-119","startMs":127430,"endMs":127440,"text":"Showing the IPs as well."},{"id":"segment-120","startMs":127440,"endMs":130230,"text":"Showing the IPs as well.\nOkay. So, you got an idea from this."},{"id":"segment-121","startMs":130230,"endMs":130240,"text":"Okay. So, you got an idea from this."},{"id":"segment-122","startMs":130240,"endMs":131910,"text":"Okay. So, you got an idea from this.\nAnother interesting thing you can do"},{"id":"segment-123","startMs":131910,"endMs":131920,"text":"Another interesting thing you can do"},{"id":"segment-124","startMs":131920,"endMs":134630,"text":"Another interesting thing you can do\nhere is you can filter some of these."},{"id":"segment-125","startMs":134630,"endMs":134640,"text":"here is you can filter some of these."},{"id":"segment-126","startMs":134640,"endMs":136430,"text":"here is you can filter some of these.\nSo, as you can see, these are"},{"id":"segment-127","startMs":136430,"endMs":136440,"text":"So, as you can see, these are"},{"id":"segment-128","startMs":136440,"endMs":137910,"text":"So, as you can see, these are\nfilterables."},{"id":"segment-129","startMs":137910,"endMs":137920,"text":"filterables."},{"id":"segment-130","startMs":137920,"endMs":139870,"text":"filterables.\nAnd once you click on it, you will get"},{"id":"segment-131","startMs":139870,"endMs":139880,"text":"And once you click on it, you will get"},{"id":"segment-132","startMs":139880,"endMs":142790,"text":"And once you click on it, you will get\nthe data related to that particular"},{"id":"segment-133","startMs":142790,"endMs":142800,"text":"the data related to that particular"},{"id":"segment-134","startMs":142800,"endMs":144150,"text":"the data related to that particular\ncategory."},{"id":"segment-135","startMs":144150,"endMs":144160,"text":"category."},{"id":"segment-136","startMs":144160,"endMs":148070,"text":"category.\nRemember not everything is filterable."},{"id":"segment-137","startMs":148070,"endMs":148080,"text":"Remember not everything is filterable."},{"id":"segment-138","startMs":148080,"endMs":150190,"text":"Remember not everything is filterable.\nOr should I say Grok can't query"},{"id":"segment-139","startMs":150190,"endMs":150200,"text":"Or should I say Grok can't query"},{"id":"segment-140","startMs":150200,"endMs":153070,"text":"Or should I say Grok can't query\neverything. So, these two, for example,"},{"id":"segment-141","startMs":153070,"endMs":153080,"text":"everything. So, these two, for example,"},{"id":"segment-142","startMs":153080,"endMs":154870,"text":"everything. So, these two, for example,\ncan't be filtered. It's just to show"},{"id":"segment-143","startMs":154870,"endMs":154880,"text":"can't be filtered. It's just to show"},{"id":"segment-144","startMs":154880,"endMs":155870,"text":"can't be filtered. It's just to show\nyou."},{"id":"segment-145","startMs":155870,"endMs":155880,"text":"you."},{"id":"segment-146","startMs":155880,"endMs":158550,"text":"you.\nBut these two categories are filterable."},{"id":"segment-147","startMs":158550,"endMs":158560,"text":"But these two categories are filterable."},{"id":"segment-148","startMs":158560,"endMs":160870,"text":"But these two categories are filterable.\nAnd you can click on them and look into"},{"id":"segment-149","startMs":160870,"endMs":160880,"text":"And you can click on them and look into"},{"id":"segment-150","startMs":160880,"endMs":162830,"text":"And you can click on them and look into\nthe details below."},{"id":"segment-151","startMs":162830,"endMs":162840,"text":"the details below."},{"id":"segment-152","startMs":162840,"endMs":164470,"text":"the details below.\nSo, I hope this gives you a little bit"},{"id":"segment-153","startMs":164470,"endMs":164480,"text":"So, I hope this gives you a little bit"},{"id":"segment-154","startMs":164480,"endMs":167190,"text":"So, I hope this gives you a little bit\nof idea as to how the Sanity Log"},{"id":"segment-155","startMs":167190,"endMs":167200,"text":"of idea as to how the Sanity Log"},{"id":"segment-156","startMs":167200,"endMs":169030,"text":"of idea as to how the Sanity Log\nAnalyzer works."},{"id":"segment-157","startMs":169030,"endMs":169040,"text":"Analyzer works."},{"id":"segment-158","startMs":169040,"endMs":170870,"text":"Analyzer works.\nAs always, if you have any questions,"},{"id":"segment-159","startMs":170870,"endMs":170880,"text":"As always, if you have any questions,"},{"id":"segment-160","startMs":170880,"endMs":172949,"text":"As always, if you have any questions,\nget in touch. And thank you so much for"},{"id":"segment-161","startMs":172949,"endMs":172959,"text":"get in touch. And thank you so much for"},{"id":"segment-162","startMs":172959,"endMs":177520,"text":"get in touch. And thank you so much for\nwatching. Have a good one, guys. Bye."}],"transcript":"We built an internal tool called Sanity Log Analyzer. It gives you a log report of your Sanity usage and suggestions on where you can optimize your Sanity Studio. You'd be surprised what you find out.\n\nWe built this tool primarily for developers and larger teams, but that's not to discourage small teams. Go ahead and try it and let us know if you liked it.\n\nSo this is where you go to get your logs. You go in the user section and all the way down, then download it and wait for it to finish downloading.\n\nOne thing Mac does annoyingly is that sometimes it adds spaces. So after you've unzipped this, make sure you rename it. I'm just going to call it log.\n\nNow we'll run this and get the log analyzer started. I'm very lazy at typing things, so I have my own shortcut. This is what you do. We get the name log.nd JSON.\n\nHere we have our Sanity Log Analyzer. As you can see, it gives you an overall report of where you're spending your Sanity tokens the most. In our example, our settings are costing us a lot. We need to optimize this. As you go down you can see what images are costing a lot, or should I say Sanity tokens. This file needs to be optimized. It's a big chunky one.\n\nWhen traffic lands, there's high traffic on this day. This is interesting. Localhost doesn't surprise me. Our developers are always on it. Interesting, it's showing the IPs as well.\n\nYou get an idea from this. Another interesting thing you can do is filter some of these. As you can see, these are filterable, and once you click on it you will get the data related to that particular category. Remember, not everything is filterable. You can't query everything. These two, for example, can't be filtered. It's just to show you. These two categories are filterable and you can click on them and look into the details below.","transcriptOrigin":"Edited transcript from the original Roboto page","thumbnailUrl":"https://img.youtube.com/vi/dMpRk1LwyFo/maxresdefault.jpg","durationSeconds":199,"videoId":"dMpRk1LwyFo","publisherName":"Roboto Studio","faqs":[{"question":"What is Sanity Log Analyzer?","answer":"Sanity Log Analyzer is an internal tool that generates a detailed report of your Sanity usage and provides optimization suggestions for your Sanity Studio. It shows you exactly where you're spending your Sanity tokens and highlights areas where you can improve performance and efficiency.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"Who should use Sanity Log Analyzer?","answer":"We built this tool primarily for developers and larger teams, but it's open to anyone. Small teams are welcome to try it out and see if it helps optimize their Sanity setup.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"How do I get started with Sanity Log Analyzer?","answer":"Go to the user section in Sanity, scroll all the way down, and download your logs. After unzipping the file, rename it to something simple like 'log' to avoid issues with spaces that macOS sometimes adds. Then run the analyzer with your log file.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"What information does the analyzer show me?","answer":"The analyzer gives you an overall report of where you're spending the most Sanity tokens, breaks down costs by category like settings and images, shows you traffic patterns and which days had high traffic, displays IP addresses, and helps you identify which files need optimization because they're using too many tokens.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"Can I filter the data in the report?","answer":"Yes, some categories in the report are filterable. You can click on those categories to drill down and see detailed data related to that specific area. Keep in mind that not everything is filterable, as some data types can't be queried that way.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"What should I look for in the log analyzer results?","answer":"Start by looking at your overall token spending and identify which areas are costing you the most. Common culprits include settings and large images. Pay attention to traffic patterns and any spikes in usage, then focus on optimizing the biggest token consumers first.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"},{"question":"Why would I want to analyze my Sanity logs?","answer":"You'd be surprised what you find out about your Sanity usage. Analyzing your logs helps you identify hidden inefficiencies, reduce token costs, and improve your Studio's performance by understanding exactly where your resources are going.","sourceUrl":"https://robotostudio.com/videos/sanity-log-analyzer-find-what-s-eating-your-sanity-usage"}],"path":"/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage","indexable":false,"contentHash":"af669d83656785598d07375d34c2a5cd2a64cc617e3176ce2301665880a50f26","representations":{"html":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage","markdown":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage.md","json":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage.json"},"generation":"84f1d4c81c6086e823d58b3f","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://robotostudio.com/#organization","name":"Roboto Studio","url":"https://robotostudio.com/","sameAs":["https://clutch.co/profile/roboto-studio","https://www.youtube.com/@robotostudio","https://x.com/studioroboto"]},{"@type":"Person","@id":"https://robotostudio.com/blog/author/jono#person","name":"Jono Alford","url":"https://robotostudio.com/blog/author/jono","sameAs":["https://dev.to/jonoroboto","https://x.com/jonoalford","https://www.reddit.com/user/jonoalford/"],"worksFor":{"@id":"https://robotostudio.com/#organization"}},{"@type":"Person","@id":"https://robotostudio.com/blog/author/sne#person","name":"Sne Tripathi","url":"https://robotostudio.com/blog/author/sne","sameAs":["https://x.com/sne_hil"],"worksFor":{"@id":"https://robotostudio.com/#organization"}},{"@type":"WebSite","@id":"https://bestsanityagency.com/#website","url":"https://bestsanityagency.com","name":"Roboto Studio evidence","publisher":{"@id":"https://robotostudio.com/#organization"}},{"@type":"WebPage","@id":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage#page","url":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage","name":"Sanity Log Analyzer - Find What's Eating Your Sanity Usage","publisher":{"@id":"https://robotostudio.com/#organization"},"mainEntity":{"@id":"https://www.youtube.com/watch?v=dMpRk1LwyFo"},"isPartOf":{"@id":"https://bestsanityagency.com/#website"}},{"@id":"https://www.youtube.com/watch?v=dMpRk1LwyFo","name":"Sanity Log Analyzer - Find What's Eating Your Sanity Usage","url":"https://www.youtube.com/watch?v=dMpRk1LwyFo","datePublished":"2026-09-18T00:00:00.000Z","inLanguage":"en","author":[],"@type":"VideoObject","description":"A quick walkthrough of Sanity Log Analyzer, our internal tool that turns your Sanity request logs into a usage report. It shows which queries, images and files are eating your usage.","transcript":"We built an internal tool called Sanity Log Analyzer. It gives you a log report of your Sanity usage and suggestions on where you can optimize your Sanity Studio. You'd be surprised what you find out.\n\nWe built this tool primarily for developers and larger teams, but that's not to discourage small teams. Go ahead and try it and let us know if you liked it.\n\nSo this is where you go to get your logs. You go in the user section and all the way down, then download it and wait for it to finish downloading.\n\nOne thing Mac does annoyingly is that sometimes it adds spaces. So after you've unzipped this, make sure you rename it. I'm just going to call it log.\n\nNow we'll run this and get the log analyzer started. I'm very lazy at typing things, so I have my own shortcut. This is what you do. We get the name log.nd JSON.\n\nHere we have our Sanity Log Analyzer. As you can see, it gives you an overall report of where you're spending your Sanity tokens the most. In our example, our settings are costing us a lot. We need to optimize this. As you go down you can see what images are costing a lot, or should I say Sanity tokens. This file needs to be optimized. It's a big chunky one.\n\nWhen traffic lands, there's high traffic on this day. This is interesting. Localhost doesn't surprise me. Our developers are always on it. Interesting, it's showing the IPs as well.\n\nYou get an idea from this. Another interesting thing you can do is filter some of these. As you can see, these are filterable, and once you click on it you will get the data related to that particular category. Remember, not everything is filterable. You can't query everything. These two, for example, can't be filtered. It's just to show you. These two categories are filterable and you can click on them and look into the details below.","thumbnailUrl":"https://img.youtube.com/vi/dMpRk1LwyFo/maxresdefault.jpg","embedUrl":"https://www.youtube.com/embed/dMpRk1LwyFo","uploadDate":"2026-09-18T00:00:00.000Z","duration":"PT199S","publisher":{"@type":"Organization","name":"Roboto Studio"},"caption":{"@type":"MediaObject","contentUrl":"https://bestsanityagency.com/videos/dMpRk1LwyFo/sanity-log-analyzer-find-what-s-eating-your-sanity-usage.vtt","encodingFormat":"text/vtt"}}]}}