1 vote
Hello,
is there a global log function in RDM for SSH sessions (like in PuTTY) in order to set variables such as:
&H for Hostname
&Y for Year
&M for Month
&D for Date
&T for Time
for the printable output?
I know the "Logs" function in individual SSH sessions here:
However, I need a function (such as in PuTTY) to automatically set Hostname, Date, Time, etc. pp for the file name in the Log path when I open the SSH session.
But I need a global function because there are hundreds of SSH sessions - to edit every session is difficult.
Best regards,
Markus
b9efa027-74df-443c-9aae-930736f00462.png
0f6c167a-1d85-4a84-97fc-7b4741cc04dd.png
Hello Markus,
You should be able to achieve this with the variable system in RDM. In your entry you should see in the bottom left a "variables" button that lists the supported variables.
In your case you would be interested in the date variables. Additionally, there is also a variable for $HOST$ that should return the host of the entry.
After you have a log path you like, you could use the batch edit feature to edit all your entries to use that value: https://docs.devolutions.net/rdm/commands/edit/batch-edit/
You could also leverage templates so that all further entries you create have certain values configured by default, like the logs: https://docs.devolutions.net/rdm/concepts/intermediate-concepts/templates/
Let me know if this helps.
Regards,
Hubert Mireault
1ad22ec1-29ed-4610-aabd-1b76a6b0f7d4.png
Hello Hubert,
this is exactly what I wanted. Thank you so much!
You can close the feature request.
Best regards,
Markus
Perfect, I'm glad to hear this works for you!
Regards,
Hubert Mireault