https://bugzilla.novell.com/show_bug.cgi?id=859269 https://bugzilla.novell.com/show_bug.cgi?id=859269#c0 Summary: logstash unable to upload/query data to embedded Elasticsearch Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tonysu@su-networking.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 On VMware 10 Guest(although I don't believe is relevant here) openSUSE 13.1, both "minimal server" and LXDE desktop openjdk 1.7 logstash-1.3.2-flatjar.jar Highly recommend using a Desktop so multiple terminals can be launched easily Logstash tutorial reference http://logstash.net/docs/1.3.2/tutorials/getting-started-simple Example setup: Default 13.1 LXDE install install openjdk 1.7 If running in VMware, I also installed VMware Tools to support Shared Folders Recommend using 3 consoles (terminals) root console to execute the "java -jar logstash" commands user console to execute the curl commands user/root console to run other commands like netstat All tests and configurations work until you reach the step curl -gs -XGET "http://localhost:9200/logstash-*/_search?pretty&q=type:example" Results (stdout) elasticsearch shard configuration instead of data in json format Reproducible: Always Steps to Reproduce: 1.Setup as described in Details 2. Run the tests as described in Details 3. Actual Results: Results in wrong output Expected Results: Should result in json output I have successfully completed the tests in this tutorial in a CentOS Guest. Then I copied the logstash config from the CentOS guest to the openSUSE Guest. Then I deleted the /data folder (in the working logstash directory) to ensure a new test with no old data. Then executed logstash with the known working logstash config file In the user console I ran the problem curl command again. Instead of returning results similar to what I saw on CentOS, I saw the same wrong output on openSUSE. I also ran the java command with "-- web" as described later down the page. It looks like the embedded web module works fine. Bottom line: Looks like an embedded elasticsearch module is properly launched and indices are created. But there is some kind of problem querying for data in elasticsearch. Not fully investigated as of yet: The tutorial only queries an embedded elasticsearch. When I have time I can also try uploading through logstash data to an "installed" elasticsearch and then try querying. This might determine if there is a problem only with the embedded version of ES or if there is a larger problem Speculation: Without knowing whether elasticsearch is making external calls (after all, isn't it running as a jar?) I wonder if it's making calls to expected init services which have been re-written and deployed in systemd. Maybe tests in Fedora and/or earlier openSUSE could circumstantially provide clues. In any case this doesn't seem to affect <all> embedded modules because the web module <seems> to be working properly, although of course not seeing anything except 2 logs (are those data or logstash logs, will need to investigate) So,unknown if could be symptomatic of a more broad problem of a systemd system not supporting systemVinit calls. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.