search | extend | getschema

the search command searches the whole table, not specific fields.

It can also search whole databases.

It takes a lot of resources. Thats why search is best used with a specific timeframe defined using | where TimeGenerated ...

syntax

search "String_of_interes"

examples

search "Google"

search in specific table

VMConnections
| search "Google"

The query above is the same as using has

search in a specific table and field

other example

search for word and display all table names where its found

search for word in specific tables


extend

extend command is used to create a new field that does not exist. We learned before how to rename a field, this includes the smilar process.

In the example below we see fields "Quantity" and "QuantityUnit"

Lets create a ne field called "GB", where we will use the Quantity field and divide it with 1000, and put the new values in our new field GB.


getschema

getschema command is used to get the datatypes from the fields, and more info about a specific table in general.

Its good for troubleshooting.

Last updated