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

Auto tags for os services

Himavanth_Reddy
Visitor

Hi, 

I trying to apply tags on OS Services like:
for os services running on host abc the tag should be "host: abc" which is usually achievable for processes and services but for entity selector based rules the place holder is not available.

Is there any other way, by which I can achieve this?

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You can create a rule using entity selector:

type(os:service),fromRelationship.runs_on(type(host),tag(XXXX))

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

I have already tried this, the problem here is only one value will be applied to all the OS Services running on the hosts having that tag but I want the value to be dynamic based on host name and place holders are not applicable for entity selector based rules 😐

Hi,

I would say using API / Monaco / Workflows for automation. When a host is onboarded, a script will create that tagging rule.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts