https://docs.splunk.com/Documentation/Splunk/8.1.2/RESTTUT/RESTsearches i can see through search API provided by Splunk enterprise(on premise) , we can query the log data collected by Splunk via endpoints.
Is there any way we can inject or query data from one running Splunk enterprise to another through data from search API? Is there any configuration available for this use case ?