@dzbeda
Have you tried specifying the index in your configured Query within the GetSplunk NiFi processor component?
NiFi is not going to be able to provide you a list of indexes from your Splunk to choose from, you would need to know what indexes exist in your Splunk server.
Hope this helps,
Matt