Hi,

I'd like collect apache logs with graylog so I modified log format to have 
this :
{"host": "foobar", "virtualhost": "foo", "short_message": "GET /foobar 
HTTP/1.1", "timestamp": "1459247088", "user_agent": "Mozilla/5.0 (iPhone; 
CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) 
Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; 
+http://www.google.com/bot.html)", "source_ip": "xx.xxx.xxx.xxx", 
"duration_usec": "483", "duration_sec": "0", "request_size_byte": "8749", 
"http_status": "200", "http_request_path": "/foobar.htm", "http_request": 
"/foobar.htm", "http_method": "GET", "http_referer": "-"}

In graylog, when I add an JSON extractor and have correctly set parameters, 
I show the extraction without problem when I click on Try buton.
But when I save the extractor, all messages from apache are'nt collected. I 
don't see it in search result :-/ I don't understand.

Could you help me please ?
Thank you

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/707c3789-a7f2-497e-b5a1-adf6cfeed417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to