If you installed Splunk on your local system them there is nothing to configure. Just use putty to connect to localhost port 22.
If you installed Splunk on another server then you will need to make sure firewalls allow you to connect to the remote system via port 22.
Hello, how are you? Thank you for your answer, I tried to enter with the putty on port 22 but I cannot access, I don't know if I should have a configuration in the putty where it says host name or (ip addres)
Putty will not connect without something in the host name field. That would be "localhost" if Splunk is installed on your own workstation or the name/IP address of the remote server where Splunk is running.