Delay while getting log via gelf http

Hello I’m sending some json text from one server to another.

Using this script:

curl -X POST -H ‘Content-Type: application/json’ -d ‘{ “version”: “1.1”, “host”: “example”, “short_message”: “A short message”, “level”: 5, “_some_info”: “foo” }’ ‘http://x.x.x.x:12201/gelf

As i saw connection was established in input menu but no log was received.

Then i checked about 1 hour later and saw that log was received. Timestamp was exactly the same when i sent log but as mentioned before it appeared about 1 hour later.

what possible issue can be?

Graylog version - 5.1.11
Opensearch version - 2.12.0
OS - Debian 11

Greetings.

To clarify, you are saying that when you post a GELF message to your graylog server, the message is not viewable in graylog for about an hour, after which you can see the message. The timestamp of the message is also correct. Is that accurate?

Can you share a screenshot and copy of the message from graylog? Can you also verify that your is configured appropruately in graylog in your user profile

One last question: do you see the message if you use the “Show received messages” button from the inputs page?

Hello,

yes, that’s correct, i also tried with gelf udp and result was same.


yes, that’s button also works.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.