Hello guys,
I'm at my wit's end and I need your advice.
We use Filebeat to send our logs to elastic search (Cloud). All good so far. Nginx and system logs are working fine so far. Now we would like to send our logs from NodeJS Applications to elasticsearch via Filebeat. These are created as files with the help of Winston in Logstash format. Unfortunately they are not visible in Kibana. What have we missed here?
Here an example from the logs:
{"@message":"Lorem Ipsum: {\"Foo\":{\"_id\":\"351b3fb9-fdca-4df5-8737-65d75e65c1f5\",\"country\":\"DE\"}}","@timestamp":"2020-04-25T11:36:30.654Z","@fields":{"context":"lorem ipsum","level":"info"}}
PS: I didn't set up an ingest pipeline because I thought it would be handled by the Logstash format. Am I wrong? If so, what would the grok pattern have look like?