Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

200 Success responses, but no data appears in Loggly dashboard #25

Open
jdrago999 opened this issue Jul 14, 2017 · 6 comments
Open

200 Success responses, but no data appears in Loggly dashboard #25

jdrago999 opened this issue Jul 14, 2017 · 6 comments

Comments

@jdrago999
Copy link

200 Success responses, but no data appears in Loggly dashboard:

screen shot 2017-07-12 at 12 35 57 am

screen shot 2017-07-12 at 12 49 06 am

Same data, same everything -- showed up instantly in Logz.io dashboard:

screen shot 2017-07-12 at 12 46 38 am

@njam
Copy link
Contributor

njam commented Jul 14, 2017

In your Loggly screenshot the search is still ongoing (there's a spinner) - are you sure the search finished and the data didn't show up?

Are you able to send events to Loggly using curl?
And what is your fluentd config?

@edify42
Copy link

edify42 commented Sep 1, 2017

I had the same issue running ruby 2.2.5p319 and fluent-plugin-loggly-0.0.8 with the configuration below

<match **>
    @type loggly_buffered
    loggly_url https://logs-01.loggly.com/bulk/UUID/tag/tag1,tag2
    output_include_time true
    buffer_type memory
    flush_interval 1s
</match>

I had to revert back to non-buffered type and this worked for us:

<match **>
    @type loggly
    loggly_url https://logs-01.loggly.com/inputs/UUID/tag/tag1,tag2
</match>

@patant
Copy link
Owner

patant commented Sep 2, 2017

What´s your environment setup?

@edify42
Copy link

edify42 commented Sep 3, 2017

Kubernetes 1.5.6 cluster
Debian Jessie 8.6 (kernel 4.4.41-k8s)
Docker Server Version: 1.12.3
Running on AWS

@edify42
Copy link

edify42 commented Sep 4, 2017

Some output from the fluentd logs:

2017-09-04 10:50:58 +1000 daemon.info: {"host":"sample-service-95366385-664ex","ident":"unicorn","message":"I, [2017-09-04T10:50:58.184083 #326] INFO -- : Completed 200 OK in 79ms (Views: 4.0ms | ActiveRecord: 52.3ms)"}
2017-09-04 10:50:58 +1000 nginx.info: {"remote":"100.66.53.3","host":"-","user":"-","method":"GET","path":"/v1/newsletters?active=true&publication_acronym=AGE","code":"200","size":"16172","referer":"-","agent":"Faraday v0.11.0","progname":"nginx"}
2017-09-04 10:50:58 +1000 daemon.info: {"host":"sample-service-95366385-664ex","ident":"unicorn","message":"203.26.51.2, 10.124.48.26, 100.66.53.3 - - [04/Sep/2017:10:50:58 +1000] "GET /v1/newsletters?active=true&publication_acronym=AGE HTTP/1.0" 200 - 0.0829"}
2017-09-04 10:50:58 +1000 [debug]: plugin/out_loggly_buffered.rb:65:write: 39 records sent
2017-09-04 10:51:00 +1000 [debug]: plugin/out_loggly_buffered.rb:70:write: HTTP Response code 200

@patant
Copy link
Owner

patant commented Oct 14, 2017

@edify42 Use the lastest version the plugin 0.0.9.
Can't see why it's not working. Provide the docker image if you need more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants