Table of Contents

Search

  1. About the Security Guide
  2. Introduction to Informatica Security
  3. User Authentication
  4. LDAP Authentication
  5. Kerberos Authentication
  6. SAML Authentication for Informatica Web Applications
  7. Domain Security
  8. Security Management in Informatica Administrator
  9. Users and Groups
  10. Privileges and Roles
  11. Permissions
  12. Audit Reports
  13. Appendix A: Command Line Privileges and Permissions
  14. Appendix B: Custom Roles

Security Guide

Security Guide

Writing and Viewing User Activity Log Events

Writing and Viewing User Activity Log Events

You can write user activity log events to a file or display it in the command line when you use the infacmd isp getUserActivityLog command. Write the user activity log events to the format based on how you plan to use the exported log events file.

Writing and Viewing Log Files

To write the user activity log events to a file, run the command with the output file parameter
-lo
:
-lo
output_file_name
If you do not specify an output format, the command writes the log events to a text file. For example, run the following command to write log events to a file named
log.txt
:
infacmd isp getUserActivityLog -dn TestDomain -un Administrator -pd Administrator -lo log.txt
To specify an output format, run the command with the format parameter
-fm
:
-fm
output_format_BIN_TEXT_XML
Valid formats include:
  • Bin (binary). Use binary format to back up the log events in binary format. You might need to use this format to send log events to Informatica Global Customer Support
  • Text. Use text format if you want to analyze the log events in a text editor.
  • XML. Use XML format if you want to analyze log events in an external tool that uses XML or if you want to use XML tools, such as XSLT.
If you specify text or XML as the output format, but you do not specify an output file, the command displays the text or XML log on the command line.
If you specify binary as the output format, you must provide an output file name.
For example, run the following command to print log events to a file named
log.xml
:
infacmd isp getUserActivityLog -dn TestDomain -un Administrator -pd Administrator -fm xml -lo log.xml

Converting Log Files

If you use the getUserActivity command to write log events to a binary file, you can convert the file to text or XML format.
Run the following command to convert a binary log you retrieved to text or XML format:
infacmd isp convertUserActivityLogFile -in
BIN_input_file_name
-fm
output_format_TEXT_XML
-lo
output_file_name
For example, run the following command to convert a binary input file named
log.bin
to XML format and output it to a file named
convertedLog.xml
:
infacmd isp convertUserActivityLogFile -in log.bin -fm XML -lo convertedLog.xml
To display the log on the command line, omit the output file name.
If you omit the format, the command uses the text format.

0 COMMENTS

We’d like to hear from you!