Help with HTTP_Poller

Hi All,

I am trying to pull out from rest API using http_poller data that should eventually presented in Kibana.
When i am using curl i have successful results show below , in other hand when using Http_Poller with config input/output config file show below I get error showed below ,i assume that something i set on the config file is wrong , any idea how to make it works ?
Please advice
Thanks

Http_Poller resaults
> {
> "_index": "logstash-2015.11.30",
> "_type": "logs",
> "id": "AVFX-cv8Lz8kppFK0E2",
> "_score": null,
> "_source": {
> "@version": "1",
> "@timestamp": "2015-11-30T10:39:26.430Z",
> "http_poller_metadata": {
> "name": "test2",
> "host": "0.0.0.0",
> "request": {
> "headers": {
> "Accept": "application/json"
> },
> "auth": {
> "user": "root",
> "pass": "58b52742c8f4819f"
> },
> "method": "get",
> "url": "https://localhost:5665/v1/objects/services"
> },
> "runtime_seconds": null
> },
> "tags": [
> "_http_request_failure"
> ],
> "http_request_failure": {
> "request": {
> "headers": {
> "Accept": "application/json"
> },
> "auth": {
> "user": "root",
> "pass": "password"
> },
> "method": "get",
> "url": "https://localhost:5665/v1/objects/services"
> },
> "name": "test2",
> "error": "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
> "backtrace": null,
> "runtime_seconds": 0.008
> }
> },
> "fields": {
> "@timestamp": [
> 1448879966430
> ]
> },
> "sort": [
> 1448879966430
> ]
> }

Config file

input {
http_poller {
urls => {
test1 => "https://localhost:5665"
test2 => {
# Supports all options supported by ruby's Manticore HTTP client
method => get
url => "https://localhost:5665/v1/objects/services"
headers => {
Accept => "application/json"
}
auth => {
user => "root"
password => "password"
}

}
}

request_timeout => 60
interval => 60
codec => "json"
ssl_certificate_validation => "false"

A hash of request metadata info (timing, response headers, etc.) will be sent here

metadata_target => "http_poller_metadata"
}
}

output {

elasticsearch { hosts => ["localhost:9200"] }
stdout {
codec => rubydebug
}
}

**Curl resaults **
curl -k -s -u root:password 'https://localhost:5665/v1/objects/services'

{"results":[{"attrs":{"__name":"UCS-SRV2!StressTestAgent_7","acknowledgement":0.0,"acknowledgement_expiry":0.0,"action_url":"","active":true,"check_attempt":1.0,"check_command
":"nrpe","check_interval":60.0,"display_name":"StressTestAgent_7","enable_active_checks":true,"enable_event_handler":true,"enable_flapping":false,"enable_notifications":true,"
enable_passive_checks":true,"enable_perfdata":true,"flapping":false,"flapping_last_change":1448873198.7643620968,"flapping_negative":2612.0,"flapping_positive":238.0,"flapping
_threshold":30.0,"force_next_check":false,"force_next_notification":false,"groups":["StressTestAgent"],"ha_mode":0.0,"host_name":"UCS-SRV2","icon_image":"","icon_image_alt":""
,"last_check":1448873198.7643170357,"last_check_result":{"active":true,"check_source":"sr-demo-mon","command":["/usr/lib/nagios/plugins/check_nrpe","-H","UCS-SRV2","-c","proce
ssmetrics","-a","-n ProdLive_01_Nov_15-StressTestAgent_7@UCS-SRV2 -w @75:80 -c @80: -u http://172.18.4.110:10101/DaletIcinga/getDaletMetrics?from=ProdLive_01_Nov_15-StressTest
Agent_7@UCS-SRV2"],"execution_end":1448873198.7642290592,"execution_start":1448873188.7606370449,"exit_status":2.0,"output":"CHECK_NRPE: Socket timeout after 10 seconds.","per
formance_data":[],"schedule_end":1448873198.7643170357,"schedule_start":1448873248.7599999905,"state":2.0,"type":"CheckResult","vars_after":{"attempt":1.0,"reachable":false,"s
tate":2.0,"state_type":1.0},"vars_before":{"attempt":1.0,"reachable":false,"state":2.0,"state_type":1.0}},"last_hard_state":2.0,"last_hard_state_change":1448872718.764029026,"
last_in_downtime":false,"last_reachable":false,"last_state":2.0,"last_state_change":1448872718.764029026,"last_state_critical":1448873198.7643458843,"last_state_ok":0.0,"last_
state_type":1.0,"last_state_unknown":0.0,"last_state_unreachable":1448873198.7643489838,"last_state_warning":1448872653.3633179665,"max_check_attempts":5.0,"name":"StressTestA

Hi did you find a solution to this problem?