- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Generic File reader
HI,
I would like to know if some one have used the generic file reader and how does it work ?
Many thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Couple of things you need make sure before integrating new feed through generic file reader integration ...
1. Configure a new file reader in "Manage File Reader" option.
2. Write a custom device XML to support your file content you want to monitoor
3. Now you are ready to write alerts and reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
.... but how i configure a new file reader? Do you have examle (for Linux would be best )
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I have the exact question - has anyone answered this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
go to system configuration->services->universal device collection->manage file reader
now click "add"
Choose a name for example Linux_History the new device
Choose an unique Device Tag - now this is important since you'll need it when you'll write tour UDS
so put again somthing like Linux_History
if there are headers in the data files than put up the number of the 1st line where the data can be found
for example:
hdr1 hdr2 hdr3
bla, bla, bla
than the Data start line will be 2
choose what are the delimiters between the data if we'll look at the example i gave than comma would be the field delimiter
and line delimiter would be LF (because this is linux file)
now click apply
congrat. you have defined a new file reader type now go to: system configuration-.services->device services->manage file reader service
click add
put up the ip address of the new device and choose the new file reader type that you have just created.
now go to %_envision%\ftpfiles
there should be a new directory called: Linux_History_1.2.3.4 (accourding to my example)
if it's not created restart the file reader service.
nowwwwwwwwwww....
you can configure FTP/SFTP agent to send the logfiles to this directory, envision from now on will monitor this directory and "suck" the files in every time it receives new one.
a new unknown device will be added now if not make sure that if this device already monitored as a diffrent type check the multi device property.
now all you need to do is to create a custom UDS for this new device and 'walla' you have created a genreic file reader custom device
