The documentation describes that you can use the GUI to create new inputs. Have you tried that? Perhaps try that in a test environment, to see what inputs.conf is generated and then use that as your template?
Can you please elaborate a bit on what you are trying to achieve?
You linked 2 different apps in your question, are you using one of these (if so: which)? What issues are you running into when following the configuration steps as documented for that app?
I have removed unwanted tagging now. I am using Website Monitoring Tool.
All I am looking for is its inputs.conf sample to add URLs for monitoring availability.
I would like to know how to add URL inputs for availability check to website monitoring other than using Splunk UI.