Using XPath to Create Field Names

Well, you could use a ruby filter to add a field based on the value of another field.

ruby { code => 'event.set( event.get("fieldContainingFieldName"), event.get("fieldContainingFieldValue") )' }