{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/2316","labels_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2316/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2316/comments","events_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2316/events","html_url":"https://github.com/elasticsearch/logstash/issues/2316","id":53426726,"number":2316,"title":"indexing Json objects in Elasticsearch with java ","user":{"login":"momok2","id":8780189,"avatar_url":"https://avatars.githubusercontent.com/u/8780189?v=3","gravatar_id":"","url":"https://api.github.com/users/momok2","html_url":"https://github.com/momok2","followers_url":"https://api.github.com/users/momok2/followers","following_url":"https://api.github.com/users/momok2/following{/other_user}","gists_url":"https://api.github.com/users/momok2/gists{/gist_id}","starred_url":"https://api.github.com/users/momok2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momok2/subscriptions","organizations_url":"https://api.github.com/users/momok2/orgs","repos_url":"https://api.github.com/users/momok2/repos","events_url":"https://api.github.com/users/momok2/events{/privacy}","received_events_url":"https://api.github.com/users/momok2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-01-05T18:28:21Z","updated_at":"2015-01-06T13:42:58Z","closed_at":null,"body":"Hi,\r\ni wan to index Json objects from Jolokia in Elasticsearch \r\ncan i do this in java ?\r\n\r\nThanks \r\n"},"comment":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/comments/68866188","html_url":"https://github.com/elasticsearch/logstash/issues/2316#issuecomment-68866188","issue_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2316","id":68866188,"user":{"login":"wiibaa","id":659227,"avatar_url":"https://avatars.githubusercontent.com/u/659227?v=3","gravatar_id":"","url":"https://api.github.com/users/wiibaa","html_url":"https://github.com/wiibaa","followers_url":"https://api.github.com/users/wiibaa/followers","following_url":"https://api.github.com/users/wiibaa/following{/other_user}","gists_url":"https://api.github.com/users/wiibaa/gists{/gist_id}","starred_url":"https://api.github.com/users/wiibaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiibaa/subscriptions","organizations_url":"https://api.github.com/users/wiibaa/orgs","repos_url":"https://api.github.com/users/wiibaa/repos","events_url":"https://api.github.com/users/wiibaa/events{/privacy}","received_events_url":"https://api.github.com/users/wiibaa/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T13:42:58Z","updated_at":"2015-01-06T13:42:58Z","body":"Obviously you now want to change your exec input config to call your script file\r\n\r\ninput {\r\n  exec {\r\n    **command =>** \"/absolute/path/to/jolokia-metrics.sh\"\r\n    interval => 60\r\n    codec => json_lines\r\n  }\r\n}"}}