Upper case (upper)
Description
Adds a new field that converts a string to uppercase letters.
How does it work in the search window?
Select Create field in the search window toolbar, then select the Upper case operation. You need to specify one argument:
Argument | Data type |
---|---|
String to be converted mandatory | string |
The data type of the values in the new field is string.
Example
In the siem.logtrust.web.activity
table, we want to convert to uppercase the strings of the type field. We will create a new field using the Upper case operation to do it.
The arguments needed to create the new field are:
String to be converted - type field
Click Create field.
How does it work in LINQ?
Use the operator select
... as
... and add the operation syntax to create the new field. This is the syntax for the Upper case operation:
upper(string)
Example
You can copy the following LINQ script and try the above example on the siem.logtrust.web.activity
table.Â
from siem.logtrust.web.activity
select upper(type) as uppercase_type