Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

90
Vistas
How to add custom prefix to every syslog line automatically?

I would like to have a specific prefix in front of every single syslog line in my Ubuntu servers (running nginx). The prefix should take the value from either some env-variable or one specific folder name. How to do it?

I see there is a syslog configuration file present but didn't see possibilities how to configure this accordingly. Found some rsyslog configuration from /etc/rsyslog.conf and as well from /etc/rsyslog.d/* but no clue how to configure it there.

EXAMPLE:

Let's say I have env variable evaluated as follows: PLUGIN_VERSION=32k0dkwfrghhaq3faiwejaf932. I would now like this 32k0dkwfrghhaq3faiwejaf932 to be present in front of every single line in my syslog file.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda