Dashboard
Play 🎮
Daily7
All Games
Account 🔐
Sign Up
Login
Compete 🏆
Global Leaderboard
Resources 📖
Blue Team Glossary
Dark mode
Light mode
Login and start playing
Leaving so soon?
×
You really want to log out? We were having so much fun!
Home
›
Glossary
›
Kusto
›
extract
extract
Kusto
Definition
`extract()` returns the part of a text value that matches a regular expression. ``` ProcessEvents | extend ip = extract(@"(\d+\.\d+\.\d+\.\d+)", 1, process_commandline) | where isnotempty(ip) ``` The number says which bracketed group of the pattern to return. Use it to pull IP addresses, domains, or file names out of long command lines.
Explore More Terms
RDP
double-extortion
Table
summarize
lookup
Welcome back!
×
Sign in with Google
Sign in with Microsoft
OR SIGN IN WITH EMAIL
Remember me
Login
Continue as Guest
$ Loading KC7 Investigation Interface...