cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bulka
Level 9
Report Inappropriate Content
Message 1 of 2

SIEM Collector Parsing multiline

Jump to solution

Hi!

I have multiline log file.

Every new event begin from data line "{20210701122602,N," and finishing string "},"

How can a SIEM Collector be configured to send such logs?

 Example:

 

 

{20210701122602,N,
{0,0},2,2,1,129919,2,I,"",0,
{"U"},"",1,7,0,4,0,
{0}
},
{20210701122602,N,
{0,0},2,2,1,129919,3,I,"",0,
{"P",
{1,
{"S","DOMAIN\user.name"}
}
},"",1,7,0,4,0,
{0}
},
{20210701122603,C,
{243e68a1592b0,1844},2,2,1,129919,4,I,"",0,
{"U"},"",1,7,0,4,0,
{0}
},
{20210701122603,C,
{243e68a1592b0,1844},2,2,1,129919,5,I,"",0,
{"U"},"",1,7,0,4,0,
{0}
}

 

 

1 Solution

Accepted Solutions
lratcliffe
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: SIEM Collector Parsing multiline

Jump to solution

See https://docs.mcafee.com/bundle/siem-collector-install-guide/page/GUID-07CDE793-4DDB-48C2-AD21-E42234...

Use a regular expression delimiter.  Just focus on the start of a new event, not on the end of an event - so something like "^\x7b[0-9]{12}\x2c"

Leave the max lines per event blank - it is not necessary to use this and using it in conjunction with a delimiter has unexpected consequences (SIEM Collector will only check every X lines for the delimiter)

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

1 Reply
lratcliffe
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: SIEM Collector Parsing multiline

Jump to solution

See https://docs.mcafee.com/bundle/siem-collector-install-guide/page/GUID-07CDE793-4DDB-48C2-AD21-E42234...

Use a regular expression delimiter.  Just focus on the start of a new event, not on the end of an event - so something like "^\x7b[0-9]{12}\x2c"

Leave the max lines per event blank - it is not necessary to use this and using it in conjunction with a delimiter has unexpected consequences (SIEM Collector will only check every X lines for the delimiter)

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

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