I found this question and answer.
This topic mentioned two responses that the license is counted and is not counted.Which answer is correct?
Use of the importtool and import CLI commands do not count against Splunk license. They are designed to be used against data that was previously indexed (and thus already counted) and then exported using exporttool or export CLI commands.
View solution in original post