I ssh into our server and created a diag, but how can I move it to my desktop so I can email it to someone else? What are the necessary steps I need to take it from the CLI? When I do this, it has to have the diag name as well as the time stamp. Any help would be great, thank you!
Download WinSCP here--> WinSCP download page There are two options, chose the portable version if you don't think you'll be able to install it without an admin. Launch that program and connect to your Splunk server using the sftp option - port 22. You can drag and drop the diag file from the file browser or use one of the other download options that WinSCP gives you.
If you can't navigate to the directory containing the diag file as the user you connected as using WinSCP you'll have to move the diag to a folder that you can access and change the permissions on the diag file so that you have the ability to read it.
Is the server windows or linux?
Is your desktop windows, linux or Mac?
Server is linux and my desktop is windows
You can try winscp to copy it to your desktop.
How do I do that from Splunk CLI?