Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dataConfig>
- <dataSource name="fds" encoding="UTF-8" type="FileDataSource" />
- <document>
- <entity name="try"
- processor="FileListEntityProcessor"
- newerThan="${dataimporter.last_index_time}"
- fileName="^hathi_upd_.*\.txt$"
- rootEntity="false"
- baseDir="/Users/dueberb/Documents/devel/hathi"
- >
- <entity name="tryli"
- processor="LineEntityProcessor"
- url="${hathifile.fileAbsolutePath}"
- rootEntity="true"
- dataSource="fds"
- transformer="RegexTransformer"
- >
- <field column="rawLine"
- regex="^(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)\t(.*)$"
- groupNames="month,date,time,DHCP_ip,protocol,DHCPMESSAGE,location,from_mac,way,gateway_ip,Name,net_ADDR,t1,t2,t3"
- />
- </document>
- </dataConfig>
Advertisement
Add Comment
Please, Sign In to add comment