Showing results for 
Show  only  | Search instead for 
Did you mean: 

ExtLists Example


could you please provide an example how to read a local txt file in to a property? I've tested it with this rule:

Rule Criteria:
Incident.ID equals 5


Set User-Defined.logLine = List.OfString.ToString (ExtLists.StringList ("", "", ""), "")
FileSystemLogging.WriteLogEntry (User-Defined.logLine)

the local file placed in /opt/mwg/temp, which is included in "filesystem allowed for the file data access". Should I use placeholders?


1 Reply
Level 11
Report Inappropriate Content
Message 2 of 2

Re: ExtLists Example


from first look, the rule looks ok. Please, take into account that this will produce one long line combining all lines in given text file.

You don't required to use placeholders, until you have a reson for it - for example, if files are called according to user or group names, or some other variable parameters, so you can avoid creation of separate configuration for every file on your disk. If no placeholders were specified in the External Lists settings, then specification of property parameters in the rule will have no effect.

If you have more questions on external lists, then you can ask them here.

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community