uppercase

The uppercase command simply converts the input field into upper case. This is useful when a field contains values that are inconsistent with regard to the letter case although they should be considered as the same values. Note that the conversion will respect the language defined by the system locale.

  • single input
  • single output
  • default output fieldname: “uppercase”
  • no arguments

Example

Convert user values to upper case.

"transforms" : [
    {
        "transform" : "uppercase",
        "inputs" : ["user"],
        "outputs" : ["user_uppercase"]
    }
]

In this example the following input data

time,                 user
2015-03-01 01:00:00Z, foo
2015-03-01 02:00:00Z, FOO
2015-03-01 03:00:00Z, bar
2015-03-01 04:00:00Z, baR

would transform to look like this

time,                 user, user_uppercase
2015-03-01 01:00:00Z, foo,  FOO
2015-03-01 02:00:00Z, FOO,  FOO
2015-03-01 03:00:00Z, bar,  BAR
2015-03-01 04:00:00Z, baR,  BAR