Hi,

I am seeing messages in kibana but they values are null.  I am using json.

This are the messages that I am getting in my logstash shipper:

{
       "message" => "{'unix':, 'msg':'', 'date':''}",
      "@version" => "1",
      "@timestamp" => "2014-06-02T20:10:23.431Z",
          "host" => "127.0.0.1"
}
{
       "message" => "{'unix':, 'msg':'', 'date':''}",
      "@version" => "1",
    "@timestamp" => "2014-06-02T20:10:23.447Z",
          "host" => "127.0.0.1"
}

Here is my shipper code which goes to redis

input {
 udp {
             codec =>   json {}
             port => 1717
     }
}
output {
  stdout { codec => rubydebug }
  redis { host => "127.0.0.1" data_type => "list" key => "logstash" }
}


Here is how I start uwsgi:
root@ubuntu:/etc/supervisor/conf.d# /usr/local/bin/uwsgi --pidfile
/var/run/api.pid --loop gevent --socket 127.0.0.1:8030 --pythonpath
/home/ubuntu/workspace/test-api/app --pythonpath
/home/ubuntu/workspace/test-api --processes 1 --file
/home/ubuntu/workspace/augno-api/wsgi.py --callable app -b 1024 --master
--gevent 10 --enable-threads --listen 10 --touch-reload
/home/ubuntu/workspace/augno-api/app/views.py --logger socket:127.0.0.1:1717
--log-encoder "json {'unix':${unix}, 'msg':'${msg}',
'date':'${strftime:%%d/%%m/%%Y %%H:%%M:%%S}'}"
[log-encoder] registered json {'unix':, 'msg':'', 'date':''}
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to