Legato Networker User History

Is it possible to report on the user activity history from Legato Networker through command line?
Yaniv SchiffDirector of Digital Forensics Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

theruckCommented:
How to render log files in the current locale at runtime
To instruct the NetWorker software to render log files into the current locale at
runtime:
1. Log in as root or as Windows administrator on the NetWorker client.
Note: You must have security administrator privileges to view security audit logs.
2. Type this at the command prompt:
nsradmin -p nsrexec
The
nsradmin
prompt appears.
3. To display a list of all available log file resources:
a. Type the following at the
nsradmin
prompt:
. type: NSR log
b. Next, type the following:
print
A list of all available log file resources will be displayed.
4. Select the appropriate log file resource for editing by typing the following at the
nsradmin
prompt:
. type: NSR log; name:
log_file_name
For example, to select the daemon.raw file, type the following:
. type: NSR log; name: daemon.raw
5. Set the path for the
Runtime rendered log
attribute by typing the following at the
nsradmin
prompt:
update runtime rendered log:
log_file_location
For example, to set the location of the re
ndered daemon file to the NetWorker log
file direction on Microsoft Windows, type the following:
update runtime rendered log: "C:\\Program
Files\\Legato\\nsr\\logs\\daemon.log"
How to view log files with the nsr_render_log program
To view log files with the
nsr_render_log
program, execute the following at the
command line:
nsr_render_log
log_file_name
If there are spaces in the log file path name, the path and filename should be enclosed
in double quotes. For example:
nsr_render_log "C:\Program Files\Legato\nsr\logs\daemon.raw"
Viewing log files
665
Troubleshooting
Note:
The
nsr_render_log
program is located in the bin directory of the
NetWorker
installation. If the bin directory is not in your search path, you must include the
location of the program when executing it from the command line.
The
EMC
NetWorker Command Reference Guide
or the UNIX man page provide a
complete usage information for the
nsr_render_log
program.
How to redirect nsr_render_log output to a file
To re di re c t
nsr_render_log
output to a file, use the > character:
nsr_render_log "C:\Program Files\Legato\nsr\logs\daemon.raw" >
mylog.txt
You can also save the log file by using a special separator character for export to
another program, such as a spreadsheet. To do this, use the
-x
exportspec
option,
where
exportspec
is a c followed by the separator character.
For example, to create a comma-separated list:
nsr_render_log -x c, "C:\Program Files\Legato\nsr\logs\daemon.raw" >
mylog.csv
Viewing log files from remote host machines
The
nsr_render_log
program allows you to view log files from remote NetWorker
hosts, by using the
-R
hostname
option:
nsr_render_log -R
hostname
log_file_name
When the
-R
option is used, the log file will be rendered in the locale of the user
executing the
nsr_render_log
program, regardless of the locale that is running on the
remote host.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.