# Unable to move the reports from Ansible to logstash

**URL:** <https://discuss.elastic.co/t/unable-to-move-the-reports-from-ansible-to-logstash/322977>\
**Category:** Logstash\
**Created:** [January 11, 2023, 11:53pm UTC](https://discuss.elastic.co/t/unable-to-move-the-reports-from-ansible-to-logstash/322977 "2023-01-11T23:53:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![janaka8](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@janaka8](https://discuss.elastic.co/u/janaka8)\
**Post date:** [January 11, 2023, 11:53pm UTC](https://discuss.elastic.co/t/unable-to-move-the-reports-from-ansible-to-logstash/322977/1 "2023-01-11T23:53:51Z")

</div>

Team,  
We have a ansible setup in our environment and even are using a Kibana Dashboard for resporting purpose. We are getting below attached error while pushing the reports from ansible logs to kibana dashboard.

{

```
"content": "",

"redirected": false,

"url": http://10.45.196.92:5045,

"status": -1,

"msg": "Status code was -1 and not [200, 201]: Request failed: <urlopen error [Errno 111] Connection refused>",

"elapsed": 0,

"changed": false,

"invocation": {

    "module_args": {

        "url": http://10.45.196.92:5045,

        "method": "POST",

        "body": {

            "hostname": "aacs-jboss-gvkt6u.dynamic.amcb.cloud.td.com",

            "report_type": "health-check",

            "snow_change_id": "CHG00ELK10",

            "epoch": 1673454445,

            "node_type": "standalone",

            "salt_status": "integrated",

            "uptime_status": true,

            "disk_status": true,

            "system_disk_status": true,

            "disk_io_status": true,

            "memory_status": true,

            "swap_status": true,

            "cpu_status": true,

            "subscription_status": true,

            "repository_dry_run_status": true,

            "service_status": true,

            "package_cache_status": true,

            "boot_partition_status": true,

            "mount_status": true,

            "zombie_status": true,

            "log_status": true,

            "mtu_status": true,

            "ping_status": true,

            "ntp_status": true,

            "status": true

        },

        "body_format": "json",

        "status_code": [

            200,

            201

        ],

        "force": false,

        "http_agent": "ansible-httpget",

        "use_proxy": true,

        "validate_certs": true,

        "force_basic_auth": false,

        "return_content": false,

        "follow_redirects": "safe",

        "timeout": 30,

        "headers": {

            "Content-Type": "application/json"

        },

        "follow": false,

        "url_username": null,

        "url_password": null,

        "client_cert": null,

        "client_key": null,

        "dest": null,

        "src": null,

        "creates": null,

        "removes": null,

        "unix_socket": null,

        "mode": null,

        "owner": null,

        "group": null,

        "seuser": null,

        "serole": null,

        "selevel": null,

        "setype": null,

        "attributes": null,

        "content": null,

        "backup": null,

        "remote_src": null,

        "regexp": null,

        "delimiter": null,

        "directory_mode": null,

        "unsafe_writes": null

    }

},

"_ansible_no_log": false,

"_ansible_delegated_vars": {}

```

}

 ![image001 (2)](https://us1.discourse-cdn.com/elastic/original/3X/c/9/c9a85122f7b7b51fa17942f690c4d789bcb7f362.png)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 18, 2023, 6:03pm UTC](https://discuss.elastic.co/t/unable-to-move-the-reports-from-ansible-to-logstash/322977/2 "2023-01-18T18:03:46Z")

</div>

> [@janaka8](#):
>
> We are getting below attached error while pushing the reports from ansible logs to kibana dashboard.

Can you provide more context? How are you sending the logs?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 15, 2023, 6:04pm UTC](https://discuss.elastic.co/t/unable-to-move-the-reports-from-ansible-to-logstash/322977/3 "2023-02-15T18:04:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
