Sentinel & Cisco Meraki?

%3CLINGO-SUB%20id%3D%22lingo-sub-1229983%22%20slang%3D%22en-US%22%3ESentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1229983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHas%20anyone%20had%20any%20experience%20with%20getting%20Cisco%20Meraki%20feeds%20ingesting%20into%20Sentinel%3F%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EJust%20checking%20for%20any%20gotcha's...%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1230432%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1230432%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F129396%22%20target%3D%22_blank%22%3E%40David%20Caddick%3C%2FA%3E%26nbsp%3BI%20had%20to%20do%20it%20for%20a%20customer%20and%20it%20worked%20just%20fine%20using%20the%20Syslog%20server.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1230573%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1230573%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F46875%22%20target%3D%22_blank%22%3E%40Gary%20Bushey%3C%2FA%3E%26nbsp%3BAgreed.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20instructions%20here%20(%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fazure-sentinel-syslog-cef-logstash-and-other-3rd-party%2Fba-p%2F803891%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-sentinel%2Fazure-sentinel-syslog-cef-logstash-and-other-3rd-party%2Fba-p%2F803891%3C%2FA%3E)%20work%20pretty%20well.%20Search%20that%20page%20for%20'Meraki'%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1231794%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1231794%22%20slang%3D%22en-US%22%3EWe%20are%20also%20working%20on%20this%2C%20but%20are%20running%20into%20an%20issue%20where%20some%20of%20the%20logs%20are%20getting%20chopped%20by%20the%20syslog%20server.%20It%20appears%20to%20be%20an%20issue%20only%20with%20vpn%20flow%20traffic%20on%20the%20MX%20firewall.%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20have%20a%20case%20open%20trying%20to%20figure%20it%20out.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1259168%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1259168%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F46875%22%20target%3D%22_blank%22%3E%40Gary%20Bushey%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20you%20please%20confirm%20the%20sentinel%20table%20in%20which%20you%20are%20getting%20Meraki%20events.%20It%20is%20like%20custom%20log%20or%20coming%20under%20syslog%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1266525%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1266525%22%20slang%3D%22en-US%22%3EThey%20will%20show%20up%20under%20syslog.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1266577%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1266577%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F572555%22%20target%3D%22_blank%22%3E%40mperrotta%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%20I%20did%20the%20same%20and%20event%20getting%20under%20syslog%20are%20not%20complete%2C%20they%20are%20truncating%20the%20events(by%20%3A%20in%20Rawdata).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERefer%20below%20details%3C%2FP%3E%3CP%3E%3CSTRONG%3EActual%20logs%201%3A%3C%2FSTRONG%3E%3CBR%20%2F%3EMar%2027%2014%3A00%3A38%201.1.1.1%20987654321.123456789%20MerakiXXYY%20urls%20src%3Dyy.yy.yy.yy%3A40206%20dst%3Dxxx.xxx.x.xx%3A443%20mac%3DAA%3AAA%3AAA%3ABB%3ABB%3ABB%20request%3A%20UNKNOWN%20%3CA%20href%3D%22https%3A%2F%2Faaa.vbvbvb.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faaa.vbvbvb.com%2F%3C%2FA%3E...%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3ESyslogMessage%201%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E40206%20dst%3Dxxx.xxx.x.xx%3A443%20mac%3DAA%3AAA%3AAA%3ABB%3ABB%3ABB%20request%3A%20UNKNOWN%20%3CA%20href%3D%22https%3A%2F%2Faaa.vbvbvb.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faaa.vbvbvb.com%2F%3C%2FA%3E...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EActual%20logs%202%3A%3C%2FSTRONG%3E%3CBR%20%2F%3EMar%2027%2014%3A00%3A56%201.1.1.1%20987654321.123456789%20MerakiYYXX%20flows%20allow%20src%3Dyy.yy.yy.yy%20dst%3Dxxx.xxx.x.xx%20mac%3DFF%3AFF%3AFF%3AFF%3AFF%3AFF%20protocol%3Dudp%20sport%3D60000%20dport%3D1234%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3ESyslogMessage%202%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3EFF%3AFF%3AFF%3AFF%3AFF%20protocol%3Dudp%20sport%3D60000%20dport%3D1234%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehave%20you%20observed%20same%20issue%20if%20not%20can%20you%20please%20help%20the%20method%20you%20followed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1267804%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1267804%22%20slang%3D%22en-US%22%3EWe%20are%20seeing%20the%20same%20symptom%20as%20well.%20We%20currently%20have%20a%20support%20case%20open%20to%20look%20into%20this.%20If%20we%20find%20the%20solution%2C%20I%20will%20update%20you.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1685064%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1685064%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F572555%22%20target%3D%22_blank%22%3E%40mperrotta%3C%2FA%3Ewe're%20seeing%20the%20same%20problem%2C%20did%20you%20ever%20find%20a%20solution%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1699967%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699967%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20after%20working%20with%20the%20MS%20support%20team%20and%20their%20dev's%2C%20they%20determined%20that%20Meraki%20logs%20don't%20follow%20the%20RFC%20standard%20for%20syslog%20message.%20Basically%2C%20what%20is%20happening%20is%20at%20the%20first%20%3D%20in%20the%20syslog%20message%2C%20Sentinel%20dropping%20everything%20before%20it%20and%20the%20remainder%20of%20the%20message%20get%20captured.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20workaround%20for%20this%20was%20to%20have%20rsyslog%20write%20the%20Meraki%20logs%20to%20a%20file%20then%20we%20have%20Sentinel%20ingest%20the%20files%20into%20a%20custom%20log%20table.%20You%20will%20want%20to%20have%20log%20rotation%20setup%20to%20ensure%20that%20it%20does%20not%20grow%20infinitely.%20Here%20are%20the%20config%20notes%20I%20have.%20To%20have%20Sentinel%20pull%20the%20custom%20log%2C%20that%20is%20configured%20in%20Log%20Analytics%20under%20Advanced%20settings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20have%20any%20questions.%3C%2FP%3E%3CH1%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%20id%3D%22toc-hId-411888629%22%3EConfigure%20Log%20Rotate%3C%2FH1%3E%3CH2%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%20id%3D%22toc-hId-1102450103%22%3ECreate%20directory%3A%3C%2FH2%3E%3CP%3Esudo%20mkdir%20%2Fvar%2Flog%2Fmeraki%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%20id%3D%22toc-hId--705004360%22%3EAssign%20permission%20on%20folder%3A%3C%2FH2%3E%3CP%3Esudo%20chown%20syslog%20%2Fvar%2Flog%2Fmeraki%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%20id%3D%22toc-hId-1782508473%22%3ECreate%20log%20rotation%20configuration%20file%3A%3C%2FH2%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Evi%20%2Fetc%2Flogrotate.d%2Fmeraki%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2Fvar%2Flog%2Fmeraki%2Fmeraki%20%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20rotate%203%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20missingok%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20create%200640%20syslog%20adm%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20notifempty%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20compress%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20size%20100M%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20delaycompress%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20sharedscripts%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20postrotate%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2Fusr%2Flib%2Frsyslog%2Frsyslog-rotate%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20endscript%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH1%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%20id%3D%22toc-hId-1772005369%22%3EConfigure%20rsyslog%20to%20send%20meraki%20logs%20to%20file%3A%3C%2FH1%3E%3CP%3Evi%20%2Fetc%2Frsyslog.conf%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%20id%3D%22toc-hId--1832400453%22%3EAdd%20the%20following%20line%20at%20the%20bottom%3C%2FH2%3E%3CP%3Eif%20(%24fromhost-ip%3D%3D'172.16.15.254')%20then%20%2Fvar%2Flog%2Fmeraki%2Fmeraki%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1917658%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1917658%22%20slang%3D%22en-US%22%3EGoing%20to%20give%20this%20a%20try.%20I%20have%20used%20Meraki%20equipment%20for%20a%20long%20time%20but%20have%20to%20say%20the%20amount%20of%20times%20i%20find%20their%20implementation%20doesn't%20use%20standards%20is%20frustrating.%20Their%20syslog%20is%20not%20compliant%2C%20their%20client%20vpn%20implementation%20is%20odd%2C%20etc.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1924299%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924299%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F876099%22%20target%3D%22_blank%22%3E%40mhaasEFD%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20done%20this%20Meraki%20recipe%20for%20two%20customers%3B%20it%20comes%20in%20via%20syslog%2C%20syslog%20puts%20it%20into%20its%20own%20file%2C%20it's%20read%20as%20a%20Custom%20Log%20by%20the%20Log%20Analytics%20Agent%20and%20is%20forwarded%20into%20Sentinel.%20Then%20within%20Sentinel%20we%20have%20a%20KQL%20function%20to%20extract%20the%20most%20common%20stuff.%20What's%20frustrating%20is%20that%20Cisco%20Meraki%20isn't%20always%20the%20most%20consistent%20with%20the%20log%20format.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20my%20GitHub%20with%20the%20extractors%2C%20which%20I%20have%20no%20problem%20with%20anyone%20else%20using%2C%20and%20if%20you%20guys%20have%20fixes%2C%20I'm%20happy%20to%20incorporate%20them%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjkatzmandu%2Fsentinel_tricks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjkatzmandu%2Fsentinel_tricks%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1924600%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924600%22%20slang%3D%22en-US%22%3EThanks%2C%3CBR%20%2F%3EI%20got%20syslog%20up%20and%20running%20already%20but%20looking%20over%20your%20info.%20I%20did%20setup%20a%20CEF%20output%20from%20my%20graylog%20server%20and%20found%20that%20cleaner%20but%20if%20you%20don%E2%80%99t%20need%20an%20internal%20graylog%20server%20it%E2%80%99s%20probably%20an%20extra%20step.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948904%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948904%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F572555%22%20target%3D%22_blank%22%3E%40mperrotta%3C%2FA%3E%2C%20you%20suggest%20using%20log%20rotation%20so%20the%20file%20doesn't%20grow%20indefinitely%2C%20but%20Log%20Analytics%20Custom%20Log%20from%20file%20doesn't%20support%20file%20rotation.%20Does%20your%20workaround%20work%20anyway%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948923%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948923%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F888626%22%20target%3D%22_blank%22%3E%40Manresa%3C%2FA%3E%26nbsp%3BThe%20log%20rotation%20is%20for%20the%20sending%20side%2C%20the%20linux%20rsyslog%20files%20that%20are%20in%20the%20middle.%20Not%20on%20the%20azure%20side.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1949061%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1949061%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F876099%22%20target%3D%22_blank%22%3E%40mhaasEFD%3C%2FA%3E%2C%20thanks%20for%20the%20quick%20response.%20I%20understand%20that%2C%20but%20Microsoft%20documentation%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-monitor%2Fplatform%2Fdata-sources-custom-logs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECollect%20custom%20logs%20with%20Log%20Analytics%20agent%20in%20Azure%20Monitor%20-%20Azure%20Monitor%20%7C%20Microsoft%20Docs%3C%2FA%3E%20says%20that%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EThe%20log%20file%20must%20not%20allow%20circular%20logging%20or%20log%20rotation%2C%20where%20the%20file%20is%20overwritten%20with%20new%20entries.%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EIf%20I%20understand%20correctly%2C%20this%20means%20that%20the%20log%20file%20in%20the%20syslog%20server%20can't%20be%20rotated%2C%20so%20Azure%20can%20accurately%26nbsp%3Btake%20the%20new%20entries%20from%20where%20it%20last%20read%20the%20file.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952989%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952989%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F888626%22%20target%3D%22_blank%22%3E%40Manresa%3C%2FA%3EI%20am%20not%20sure%20the%20risk%20implication%20of%20this%20requirement.%20Maybe%20we%20end%20up%20missing%20some%20flow%20logs%20when%20the%20rotation%20occurs%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20no%20obvious%20logs%20missing%20that%20we%20can%20see.%20We%20have%20been%20running%20this%20solution%20for%20several%20months%20now%20without%20any%20issues.%20This%20is%20the%20only%20way%20that%20I%20am%20aware%20of%20how%20to%20capture%20the%20full%20message%20from%20Meraki%20at%20this%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%2C%20we%20just%20consider%20this%20the%20least%20broken%20way%20of%20doing%20it.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958182%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958182%22%20slang%3D%22en-US%22%3EAre%20you%20running%20this%20function%20when%20you%20query%3F%20or%20can%20this%20be%20used%20at%20collection%20without%20having%20to%20create%20individual%20custom%20fields%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2043547%22%20slang%3D%22en-US%22%3ERe%3A%20Sentinel%20%26amp%3B%20Cisco%20Meraki%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2043547%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F876099%22%20target%3D%22_blank%22%3E%40mhaasEFD%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20it%20when%20we%20query%3B%20so%20instead%20of%20%22Cisco_Meraki_CL%22%20as%20the%20%22table%22%20in%20my%20search%2C%20it's%20this%20function...%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Has anyone had any experience with getting Cisco Meraki feeds ingesting into Sentinel?

Just checking for any gotcha's...

18 Replies

@David Caddick I had to do it for a customer and it worked just fine using the Syslog server.

@Gary Bushey Agreed. 

 

The instructions here (https://techcommunity.microsoft.com/t5/azure-sentinel/azure-sentinel-syslog-cef-logstash-and-other-3...) work pretty well. Search that page for 'Meraki'

We are also working on this, but are running into an issue where some of the logs are getting chopped by the syslog server. It appears to be an issue only with vpn flow traffic on the MX firewall.

We have a case open trying to figure it out.

Hi @Gary Bushey 

can you please confirm the sentinel table in which you are getting Meraki events. It is like custom log or coming under syslog ?

They will show up under syslog.

Hi @mperrotta 

Thanks for your reply. I did the same and event getting under syslog are not complete, they are truncating the events(by : in Rawdata).

 

Refer below details

Actual logs 1:
Mar 27 14:00:38 1.1.1.1 987654321.123456789 MerakiXXYY urls src=yy.yy.yy.yy:40206 dst=xxx.xxx.x.xx:443 mac=AA:AA:AA:BB:BB:BB request: UNKNOWN https://aaa.vbvbvb.com/...

SyslogMessage 1:
40206 dst=xxx.xxx.x.xx:443 mac=AA:AA:AA:BB:BB:BB request: UNKNOWN https://aaa.vbvbvb.com/...

 

Actual logs 2:
Mar 27 14:00:56 1.1.1.1 987654321.123456789 MerakiYYXX flows allow src=yy.yy.yy.yy dst=xxx.xxx.x.xx mac=FF:FF:FF:FF:FF:FF protocol=udp sport=60000 dport=1234

SyslogMessage 2:
FF:FF:FF:FF:FF protocol=udp sport=60000 dport=1234

 

have you observed same issue if not can you please help the method you followed.

 

Thanks in advance

 

We are seeing the same symptom as well. We currently have a support case open to look into this. If we find the solution, I will update you.

@mperrottawe're seeing the same problem, did you ever find a solution for this?

Hi, after working with the MS support team and their dev's, they determined that Meraki logs don't follow the RFC standard for syslog message. Basically, what is happening is at the first = in the syslog message, Sentinel dropping everything before it and the remainder of the message get captured.

 

The workaround for this was to have rsyslog write the Meraki logs to a file then we have Sentinel ingest the files into a custom log table. You will want to have log rotation setup to ensure that it does not grow infinitely. Here are the config notes I have. To have Sentinel pull the custom log, that is configured in Log Analytics under Advanced settings.

 

Let me know if you have any questions.

Configure Log Rotate

Create directory:

sudo mkdir /var/log/meraki

 

Assign permission on folder:

sudo chown syslog /var/log/meraki

 

Create log rotation configuration file:

 

vi /etc/logrotate.d/meraki

 

/var/log/meraki/meraki {

    rotate 3

    missingok

    create 0640 syslog adm

    notifempty

    compress

    size 100M

    delaycompress

    sharedscripts

    postrotate

            /usr/lib/rsyslog/rsyslog-rotate

    endscript

}

 

Configure rsyslog to send meraki logs to file:

vi /etc/rsyslog.conf

 

Add the following line at the bottom

if ($fromhost-ip=='172.16.15.254') then /var/log/meraki/meraki

Going to give this a try. I have used Meraki equipment for a long time but have to say the amount of times i find their implementation doesn't use standards is frustrating. Their syslog is not compliant, their client vpn implementation is odd, etc.

@mhaasEFD 

 

I've done this Meraki recipe for two customers; it comes in via syslog, syslog puts it into its own file, it's read as a Custom Log by the Log Analytics Agent and is forwarded into Sentinel. Then within Sentinel we have a KQL function to extract the most common stuff. What's frustrating is that Cisco Meraki isn't always the most consistent with the log format.

 

Here's my GitHub with the extractors, which I have no problem with anyone else using, and if you guys have fixes, I'm happy to incorporate them:


https://github.com/jkatzmandu/sentinel_tricks

 

Thanks,
I got syslog up and running already but looking over your info. I did setup a CEF output from my graylog server and found that cleaner but if you don’t need an internal graylog server it’s probably an extra step.

@mperrotta, you suggest using log rotation so the file doesn't grow indefinitely, but Log Analytics Custom Log from file doesn't support file rotation. Does your workaround work anyway? 

@Manresa The log rotation is for the sending side, the linux rsyslog files that are in the middle. Not on the azure side.

@mhaasEFD, thanks for the quick response. I understand that, but Microsoft documentation in Collect custom logs with Log Analytics agent in Azure Monitor - Azure Monitor | Microsoft Docs says that:

  • The log file must not allow circular logging or log rotation, where the file is overwritten with new entries.

If I understand correctly, this means that the log file in the syslog server can't be rotated, so Azure can accurately take the new entries from where it last read the file.

@ManresaI am not sure the risk implication of this requirement. Maybe we end up missing some flow logs when the rotation occurs? 

 

There are no obvious logs missing that we can see. We have been running this solution for several months now without any issues. This is the only way that I am aware of how to capture the full message from Meraki at this time.

 

Unfortunately, we just consider this the least broken way of doing it. 

Are you running this function when you query? or can this be used at collection without having to create individual custom fields?

@mhaasEFD 

 

I use it when we query; so instead of "Cisco_Meraki_CL" as the "table" in my search, it's this function...