7/27/2023 0 Comments Sumologic timeslice![]() ![]() I'm very new to both (and devops in general, I was a full stack SE for the past 6 years). The company sells software to car manufacturers that is used by the head units (the screens a lot of newer cars have inside) to do things like find parking spots, etcĭue to this, we can't ever change HTTP routes etc, because most of the head units weren't built with the ability to ship updates. We also have a LOT more non http network traffic but, for the purposes of this thread, I only care about HTTP. The company is large - 10s of millions of http requests per day alone for just my division. Our goal is to eventually publish these dashboards via a real Sumo Logic app, so that it's automatically available to all users.Tl dr - I honestly don't like Sumo and I have no good reason other than the difficulty integrating it into any toolchain that my company uses. We'd love to hear what you think, especially if you've got a great idea that we should incorporate back into our original version. timeslice 5m count by status, path, timeslice transpose row timeslice column path, status Count By Field(s). Here are the saved searches we've created so far: Timesliced Graphs Graphs count(status, path, timeslice)with the X axis timeslice and Y axis count, with one line per unique (status, path). Once it's available through your account, you're free to customize it, add to it, create alerts based on the searches, or really anything else that you find useful! If you're a Sumo Logic customer and are interested in trying out these dashboards, just let us know via Support Center (be sure to include your Sumo Logic account name) and we will gladly share it with you. The Sumo Logic for Auth0 dashboards show you the output of several saved searches all on one easy to read screen, and makes it easy to zoom in or drill down when something looks interesting. To help us (and our customers) visualize these logs, we spent some time creating a couple of dashboards. Sumo Logic makes it easy to see the latest failed logins, find and alert on error messages, create charts to visualize trends, or even do complex statistical analysis on your data. We have been using the Auth0 to Sumo Logic extension ourselves since it was first released, and it's proven to be very useful for staying on top of what's happening with our own Auth0 accounts and our internal users (employees). The resulting chart will look something like this: ![]() | transpose row _timeslice column client_name Want to create a chart showing the popularity of a particular client based on the number of logins per hour over a few days? Sure, you can do that in Sumo Logic with just a few commands: _sourceCategory =auth0_logs salesforce | json auto | timeslice 1h | count user_name | top 10 user_name by _count Getting the top 10 users for a given time period is as easy as this query: _sourceCategory =auth0_logs | json auto The timeslice operator must be used with an aggregating operator such as count by or group by. After you’ve timesliced the data into buckets, the transpose operator allows you to plot aggregated data in a time series. A simple search like _sourceCategory =auth0_logs will show you the most recent log events. The timeslice operator is commonly used in conjunction with the transpose operator. We recommend naming the source category auth0_logs.ĭata should begin appearing in Sumo Logic a few minutes after you enable the extension. If you don't already have one, follow the Sumo Logic instructions for creating an HTTP source and paste the URL it generates into the Auth0 extension configuration settings. Syntax The timeslice operator uses the metadata field messagetime to organize the logs by slices. One piece of information you will need to supply is the URL of your Sumo Logic HTTP collector endpoint. You'll need to decide on a few simple settings, but the defaults are all reasonable. ![]() Once enabled, the extension configuration screen will be displayed. Simply login, click on Extensions, then find and click on the Sumo Logic icon to configure and enable the extension. It's super easy to install the "Auth0 Logs to Sumo Logic" extension right from your Auth0 account Dashboard. ![]()
0 Comments
Leave a Reply. |