How do you create a flex connector that reads multiple files in the same directory?

I noticed that the siteminder connector reads multiple files in the same folder. I am trying to create a flex for a platform that uses multiple files in the same folder. I noticed this in the siteminder agent.properties file:

agents[0].smaccess=
agents[0].smaccess_Acct=
agents[0].smaccess_Adm=
agents[0].smaccess_Auth=
agents[0].smaccess_Az=
agents[0].smps=

I took out the file locations but each of those has the exact same path. Each has a different file name, of course. What is .smaccess triggering? Do I need a special script for the flex connector I want to create?

Parents
  • Randy:

    For a general syslog style file, you could use something like this (for some reason the file has double /'s) which will use the system subagent for syslog events:

    agents[0].foldertable[0].configfile=syslog/syslog.subagent

    agents[0].foldertable[0].configfolder=/full/path/to/current/user/agent//flexagent/

    agents[0].foldertable[0].configtype=sdkrfilereader

    ...

    agents[0].foldertable[0].folder=/var/log

    ...

    agents[0].foldertable[0].mode=PersistFile

    ...

    agents[0].foldertable[0].processingmode=realtime

    ...

    agents[0].foldertable[0].wildcard=messages

    ...

    Regards,

    Ian.

Reply
  • Randy:

    For a general syslog style file, you could use something like this (for some reason the file has double /'s) which will use the system subagent for syslog events:

    agents[0].foldertable[0].configfile=syslog/syslog.subagent

    agents[0].foldertable[0].configfolder=/full/path/to/current/user/agent//flexagent/

    agents[0].foldertable[0].configtype=sdkrfilereader

    ...

    agents[0].foldertable[0].folder=/var/log

    ...

    agents[0].foldertable[0].mode=PersistFile

    ...

    agents[0].foldertable[0].processingmode=realtime

    ...

    agents[0].foldertable[0].wildcard=messages

    ...

    Regards,

    Ian.

Children
No Data