Re: [graylog2] Graylog2 durability

2016-02-18 Thread Rui Goncalves
Thanks Jochen.


On Thursday, February 18, 2016 at 10:12:37 AM UTC, Jochen Schalanda wrote:
>
> Hi Rui,
>
> On Wednesday, 17 February 2016 17:45:45 UTC+1, Rui Goncalves wrote:
>>
>> The question is: what does that means - "202 Accepted  for processing..."?
>>
>> 1) Got your message and it's stored on journal. Message will be processed 
>> eventually. It's safe...
>> 2) Got your message and I'm going to store on my journal. Message will be 
>> lost if graylog terminates suddenly.
>>
>
> None of the above. It doesn't even mean that the message was valid and 
> will be processed at all. See  
> https://github.com/Graylog2/graylog2-server/issues/807 for a related 
> issue on GitHub.
>
>
> Cheers,
> Jochen
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/dc65b832-7b57-4dd8-a5ea-c0b47aeebec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] Graylog2 durability

2016-02-18 Thread Jochen Schalanda
Hi Rui,

On Wednesday, 17 February 2016 17:45:45 UTC+1, Rui Goncalves wrote:
>
> The question is: what does that means - "202 Accepted  for processing..."?
>
> 1) Got your message and it's stored on journal. Message will be processed 
> eventually. It's safe...
> 2) Got your message and I'm going to store on my journal. Message will be 
> lost if graylog terminates suddenly.
>

None of the above. It doesn't even mean that the message was valid and will 
be processed at all. See 
 https://github.com/Graylog2/graylog2-server/issues/807 for a related issue 
on GitHub.


Cheers,
Jochen

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/095067a9-c2b5-410f-9681-eed13d46e856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] Graylog2 durability

2016-02-17 Thread Rui Goncalves


Hi pica, 

thanks for your reply. 

The question is: what does that means - "202 Accepted  for processing..."?

1) Got your message and it's stored on journal. Message will be processed 
eventually. It's safe...
2) Got your message and I'm going to store on my journal. Message will be 
lost if graylog terminates suddenly.




On Wednesday, February 17, 2016 at 3:03:59 PM UTC, Joan Picanyol i Puig 
wrote:
>
> * Rui Goncalves  [20160217 13:22]: 
> > Does anyone know where can I find information about messages durability? 
> > 
> > 
> > My question is,  while sending messages via TCP input do I have any 
> > guarantee that messages are persisted in graylog2 journal? 
> > 
> > ex: echo ???log message??? | nc host port 
> > 
> > Before returning, does "log message" is stored on journal and not only 
> > accepted by graylog2? 
>
> TCP does not offer such guarantees to a message sender. 
>
> > What about messages sent via http, as explained here: 
> > http://docs.graylog.org/en/1.3/pages/sending_data.html#gelf-via-http 
>
> From this link: 
>
> The server will return a 202 Accepted when the message was accepted 
> for processing. 
>
> qvb 
> -- 
> pica 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/00108ed4-fc7b-40bc-98b1-1ce140dc8653%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] Graylog2 durability

2016-02-17 Thread Joan Picanyol i Puig
* Rui Goncalves  [20160217 13:22]:
> Does anyone know where can I find information about messages durability? 
> 
> 
> My question is,  while sending messages via TCP input do I have any 
> guarantee that messages are persisted in graylog2 journal? 
> 
> ex: echo ???log message??? | nc host port
> 
> Before returning, does "log message" is stored on journal and not only 
> accepted by graylog2?

TCP does not offer such guarantees to a message sender.

> What about messages sent via http, as explained here: 
> http://docs.graylog.org/en/1.3/pages/sending_data.html#gelf-via-http

>From this link:

The server will return a 202 Accepted when the message was accepted
for processing.

qvb
--
pica

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/20160217145152.GA25430%40grummit.biaix.org.
For more options, visit https://groups.google.com/d/optout.