Group\folder in variable info

Group\folder in variable info

avatar

Hi there, I’m trying to figure out if I can use the Group/Folder info a device is in, as a variable in the Recording path for the output file.
For example, I have a machine called Device1 in the Group/folder=Company1/London

I would like the Recording > Specific log file name to be = c:\output\$company$\$London$\$device$\output.txt

anyone know if this is possible??

Many thanks, Charlie.

All Comments (2)

avatar

Hello,

Here's the structure that I have created in RDM as per your description


Company1 is a Company folder type
London is a Site folder type
Device1 is a SSH Shell session type

In the Advanced tab of the SSH shell session, in log path, here is what I have
C:\Output\$COMPANY_NAME$\$SITE_NAME$\$NAME$\$DATA_SOURCE_USERNAME$_$DATE_TEXT_ISO$_$TIME_TEXT_ISO$.log

This will create you a file with the name that your user has used to connect to the data source with the current date and the current time in the folder C:\Output\Company1\London\Device1


Best regards,

Jeff Dagenais

2017-01-24_14-16-54.jpg

2017-01-24_14-13-50.jpg

avatar

ah excellent...that works perfectly...thanks very much.