Screen Shot 2020-12-03 at 8.31.29 PM

Express Yourself

Steve Litras Headshot

Last edited: December 3, 2020

200

There are a number of places in the Cribl LogStream product where you can use JavaScript expressions either to make a decision about an event, or to change that event. While this is extremely powerful, and gives our customers very rich filtering and transformation capabilities, it also can be a little confusing, especially if you don’t have programming experience. 

We chose JavaScript over creating a domain specific language (DSL) for two primary reasons: 1) because it’s the most used/ubiquitous language on the planet, and 2) because JavaScript skills are easily transferable to other JavaScript-related tools. If you know JavaScript already, you’ll feel right at home in our UI; and if you learn the language because of LogStream, you can use those skills elsewhere. That all said, JavaScript can be a little daunting if you’ve never seen it.

At Cribl, we have a core belief that we need to provide high-quality, relevant, self-driving learning experiences that help our customers get the most out of our products. This learning is an investment we need to make, not a “cost” or an alternative revenue stream. This is why we’ve built our sandbox system, and the courses that are hosted on it – and it’s why we make those courses freely available. 

So we’re really happy to share that we’ve got a new sandbox tutorial available that helps you learn and understand JavaScript expressions, as well as how we use them in LogStream. It also touches briefly on Grok and Regular Expression within the product. The tutorial only takes 10-15 minutes to complete, and gives you some useful example expressions that you can build on for your own environment. 

Give it a Try!

So we invite you to try the JavaScript Expressions tutorial. As with all of our sandbox courses, we love to hear feedback from our customers, and are always looking for feedback on ways to make the sandboxes better. If you haven’t already, please join our Slack Community, and share your feedback with us in the general channel (or via DM to me, Steve Litras). Happy Learning!

Cribl, the Data Engine for IT and Security, empowers organizations to transform their data strategy. Customers use Cribl’s suite of products to collect, process, route, and analyze all IT and security data, delivering the flexibility, choice, and control required to adapt to their ever-changing needs.

We offer free training, certifications, and a free tier across our products. Our community Slack features Cribl engineers, partners, and customers who can answer your questions as you get started and continue to build and evolve. We also offer a variety of hands-on Sandboxes for those interested in how companies globally leverage our products for their data challenges.

More from the blog

get started

Choose how to get started

Data growth and tiering/distribution, why the need now for a data engine - what got you to 2024 isn’t going to get you to 2034.

See

Cribl

See demos by use case, by yourself or with one of our team.

Try

Cribl

Get hands-on with a Sandbox or guided Cloud Trial.

Free

Cribl

Process up to 1TB/day, no license required.