mvcombine command: Examples

Examples for using the SPL2 mvcombine command.

Creating a multivalue dellimited field from the values in a field

The following example creates a multivalue field from the values in the host field by using the comma as a delimiter:

Using the mvcombine and nomv commands to convert a delimited string into a single value string

The following example returns a flat string of results with the delimiters, convert the field into single value string by adding the nomv command function to your search:

Returning a multivalue field from results that were summarized with the stats command

The following example uses the stats command to summarize the data and the mvcombine command to return a multivalue field for the host values.

See also