The approach Splunk has is not to alter original software to work with their data and be agnostic to index them. In order to get the fields (source ip, attack name etc..) we apply a datamodel at search time, allowing us to do many things, such as map-reducing and get the results much faster.
Splunk was designed to scale (by that I really mean it!), provide a framework and ready-to-use apps out of the box.
I recommend you take the OSSEC Splunk app (http://apps.splunk.com/app/300/ ) so you can benefit from already cooked dashboards.