Different Analytic Rules based on OS

%3CLINGO-SUB%20id%3D%22lingo-sub-1570772%22%20slang%3D%22en-US%22%3EDifferent%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570772%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20the%20MMA%20agent%20installed%20on%20some%20of%20our%20physical%20systems.%20What%20we%20are%20looking%20to%20do%20is%20to%20have%20different%20analytic%20rules%26nbsp%3Bfor%20our%20Workstations%20vs%20our%20Servers.%20It%20seems%20the%20best%20way%20we%20could%20do%20this%20is%20if%20we%20could%20query%20the%20OS%20version%20from%20one%20of%20the%20tables.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20the%20OS%20version%20logged%20in%20any%20of%20the%20data%20tables%20to%20be%20able%20to%20do%20this%20or%20is%20there%20better%20way%20to%20accomplish%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EMike%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572971%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572971%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%2C%20the%20%3CSTRONG%3E%3CEM%3EHeartbeat%3C%2FEM%3E%20%3C%2FSTRONG%3Etable%20contains%20the%20fields%20you%20need%3A%3C%2FP%3E%0A%3CDIV%20class%3D%22k-mid%22%3E%0A%3CDIV%20class%3D%22ng-star-inserted%22%3E%0A%3CDIV%20class%3D%22column-container%22%20title%3D%22Operating%20system%20major%20version.%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22column-container%22%20title%3D%22Operating%20system%20major%20version.%22%3E%3CSPAN%20class%3D%22ellipsis%22%3EOSMajorVersion%20(string)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22k-mid%22%3E%0A%3CDIV%20class%3D%22ng-star-inserted%22%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22column-container%22%20title%3D%22Operating%20system%20minor%20version.%22%3E%3CSPAN%20class%3D%22ellipsis%22%3EOSMinorVersion%20(string)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22k-mid%22%3E%0A%3CDIV%20class%3D%22ng-star-inserted%22%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22column-container%22%20title%3D%22Name%20of%20OS.%22%3E%3CSPAN%20class%3D%22ellipsis%22%3EOSName%20(string)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20class%3D%22k-mid%22%3E%0A%3CDIV%20class%3D%22ng-star-inserted%22%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22column-container%22%20title%3D%22Type%20of%20OS.%20Possible%20values%20are%20Windows%20or%20Linux%20.%22%3E%3CSPAN%20class%3D%22ellipsis%22%3EOSType%20(string)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22ellipsis%22%3ERegards%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573048%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573048%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F66621%22%20target%3D%22_blank%22%3E%40Javier%20Soriano%3C%2FA%3E%26nbsp%3BUnfortunately%20in%20the%20Heartbeat%20table%2C%20regardless%20if%20it%20is%20Win%2010%20or%20a%20Windows%20Server%2C%20they%20all%20show%20up%20as%20the%20same%20version.%20And%20the%20OS%20Type%20is%20just%20Windows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573171%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573171%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%26nbsp%3Bdid%20you%20also%20check%20%3CEM%3E%3CSTRONG%3EUpdate%3C%2FSTRONG%3E%3C%2FEM%3E%20table%3F%20This%20should%20exist%20if%20you%20have%20the%20update%20management%20solution%20installed%20in%20the%20workspace...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1573326%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1573326%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F66621%22%20target%3D%22_blank%22%3E%40Javier%20Soriano%3C%2FA%3E%26nbsp%3BWe%20don't%20have%20that%20service%20turned%20on.%20It%20seems%20the%20best%20approach%20will%20be%20to%20establish%20computer%20groups%20to%20do%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1575170%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20Analytic%20Rules%20based%20on%20OS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1575170%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%26nbsp%3BI%20believe%20you%20have%20naming%20conventions%20for%20Servers%20and%20Workstations.%20If%20this%20the%20case%2C%20you%20can%20add%20a%20condition%20like%20'%20where%20Computer%20startswith%2Fcontains%20%22srv%22%20'.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

We have the MMA agent installed on some of our physical systems. What we are looking to do is to have different analytic rules for our Workstations vs our Servers. It seems the best way we could do this is if we could query the OS version from one of the tables. 

 

Is the OS version logged in any of the data tables to be able to do this or is there better way to accomplish this.

 

Thanks,

Mike

5 Replies

Hi @mperrotta , the Heartbeat table contains the fields you need:

 
  • OSMajorVersion (string)
  • OSMinorVersion (string)
  • OSName (string)
  • OSType (string)

 

Regards

@Javier Soriano Unfortunately in the Heartbeat table, regardless if it is Win 10 or a Windows Server, they all show up as the same version. And the OS Type is just Windows.

 

Thanks

@mperrotta did you also check Update table? This should exist if you have the update management solution installed in the workspace...

@Javier Soriano We don't have that service turned on. It seems the best approach will be to establish computer groups to do this.

@mperrotta I believe you have naming conventions for Servers and Workstations. If this the case, you can add a condition like ' where Computer startswith/contains "srv" '.