2

When should I use multiple input for my graylog? Do you have a use case?

For instance, I have different Symfony (3.x) applications with different environments (integration, prod, ..) and I want all of them into my graylog.

What is the best way (or the bests pratices) to send all of them into my graylog and easily crate stream based on this environments?

PapaSku
  • 112
  • 10

2 Answers2

1

The way I always understood this is that you create separate inputs for "kinds of logs". Like: one rsyslog input for all machines sending logs in rsyslog format, second for all GELF applications, third for capturing NetFlow, etc.

Piohen
  • 1,514
  • 15
  • 23
0

You can send logs from an arbitrary number of applications and systems (i.e. environments) to Graylog (even on the same input).

Simply configure your applications and systems to send logs to Graylog and create an appropriate input for them.

See http://docs.graylog.org/en/2.4/pages/sending_data.html for some hints.

hmiedema9
  • 948
  • 4
  • 17
  • I know how to send log, this is not the question. I want to know why we can create differents inputs and when use it. – PapaSku Sep 03 '18 at 12:59
  • This answer is essentially the same to the one that won the bounty - configure your application/sys logs to send to Graylog, then create an input for them... – hmiedema9 Sep 04 '18 at 13:36