I input an XML file and indexed it, but found there are fields that contain XML. How can I parse and index fields from XML data?
A cheerful example at How do I parse my XML data into multiple fields?
Not sure i understand what you are saying "fields contain xml lines".
Have you tried using this custom command ".... | xmlmv"
Check out the xpath
command:
http://docs.splunk.com/Documentation/Splunk/6.1.4/SearchReference/Xpath