===== ULS Value File Format ===== This value file format was defined to make the development of agents easy. An agent just has to create a file that contains the acquired values in the here defined format and call a script of the [[uls:agents:linux]] to transfer the file contents to the ULS-server. The encoding of the file is Latin-1 (ISO 8859-1) by default, use [[value_file_format#L: Set Defaults and Encoding]] to specify UTF-8 as content encoding. This file format can easily be generated from arbitrary scripts or executables and is therefore especially useful for independent development of customized ULS-agents. See the [[value_file_format#Example]]. The [[uls:agents:linux]] as well as the executable 'send2uls.exe' for W*ndows allow the transfer of ULS-values to the ULS-server as files which conform to the [[value_file_format]]. If you are on a host that already runs the [[uls:agents:linux]], then you just need to create a file (file name extension ''.uls'' is mandatory) containing your values in the [[value_file_format]] and place the file in the ''/var/tmp/uls'' directory. A cron job of the [[uls:agents:linux]] will grab that directory regularly and send the complete contents to the ULS-server. ----- ==== Place Holders ==== This is a list of placeholders which are used in the following description of the [[value_file_format]]. Remember the data structure: domain - source - section - teststep - detail - value [unit] {| ! place holder ! length ! description |- | | |this must be one of the defined access codes which are defined in the ULS administration (:menuselection:`edit access`). Only users who are assigned to that can view the such tagged values in the ULS interactive analysis. Details with equal name and unit but different **are** distinguished! |- | | 10 | date in the format "YYYY-MM-DD" |- | | 19 | date and time in the format: YYYY-MM-DD HH:MM:SS. It may NOT be enclosed in quotes! |- | | 0..100 | user-defined text expression for a detail. |- | | 5..7 | time period in the format [h[h]]hh:mm |- | < filename> | 4GB | maximum size of files/LOBs, the max size that YOU will send to the ULS-server is **at least** needed as /tmp |- | | 0..30 | name of the source (of the values), typically the server name or hostname, but can also be an arbitrary text expression e.g. when using a cluster. |- | | | the value at this position is ignored, it can be omitted |- | | | complete path of a file |- |
| 0..50 | arbitrary text expression for the section to which the value belongs. |- | | 0..200 | arbitrary text expression for the teststep, to which the value belongs. Use the separator ':' within the text expression to build recursively more levels of sub-teststeps. |- |