I have a file in local directory with name myconf.conf .
This file is create by setup form filled by user.
I want to know how can to use this values in splunk query.
Myconf.conf file contain data abount customer name and email and index.
this is what is stored in .conf file
custname = eku
custemail = firstname.lastname@example.org
indexmain = main
My requirement is to use this value in search like
indexmain | stats count by custname