/
data.destination.splunk > set port
data.destination.splunk > set port
The data.destination.splunk > set port
command sets the Splunk default indexer port. This port is used if an indexer lacks port specification.
Syntax
data.destination.splunk > set port <number>
Example
data.destination.splunk > set port 9997
ok