To index log files from a remote system you'd install a Splunk Universal Forwarder on that system, tell it to read those log files and to send it back to your Splunk Indexer.
Sorry. Sir as I am a beginner I reallt didn't got how to implement it and as I am using Splunk lite free version will it work with that.
I just want to access splunk on my machine which is working on some other machine
You can use a Universal Forwarder with Splunk Light. For information, see the documentation at http://docs.splunk.com/Documentation/SplunkLight/latest/Installation/InstallanddeployaUF and http://docs.splunk.com/Documentation/SplunkLight/latest/GettingStarted/Receivedatafromaforwarder.