19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Global Metric Manager<br />

Query result – Lets you run reports using the numeric or string<br />

result of the query.<br />

Perl Expression – Enter the numeric value that should be returned<br />

for the query you specified. If this metric returns a string that<br />

contains more than just numerical information, then a regular<br />

expression can be used in Match string to extract the numerical<br />

result that <strong>OneSight</strong> requires. For more information, see Using<br />

Regular Expressions for Pattern Matching in Chapter 5.<br />

String Mappings – Use this button to display the String Mappings<br />

dialog box for entering a string that should be returned for the<br />

query you specified.<br />

<strong>OneSight</strong> collects numeric performance data. If you are<br />

measuring a JDBC result representing a string datatype, it can be<br />

converted to a number for use in <strong>OneSight</strong> by using the String<br />

Mappings field. Specify a semicolon delimited mapping of<br />

strings to integers. For example, ―false=0;true=1‖ converts a false<br />

reading to a zero value in <strong>OneSight</strong>. String mappings can also be<br />

used to translate a number to a string for display in <strong>OneSight</strong>.<br />

Note: When the output of a database query is a result set the query<br />

retrieves all rows of the result set. It processes for good content<br />

match, perl expression match, or advanced string mapping, treating<br />

the entire result set as a whole data block. Matching is successful<br />

when there is at least one match in the whole data block. If the<br />

result needs to be returned, the first matched value is returned.<br />

Return the first column of the first row – Select this option to return<br />

the first column of the first row if there are multiple results.<br />

Loop on result items, returning the first match – Select this option to<br />

loop on each result and return the first result that matches.<br />

Concatenate result items (space delimited) – Select this option to<br />

concatenate all results and return the first result that matches.<br />

Results are space delimited.<br />

Chapter 6: Using Profiles 525

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!