# How to create kibana Dashboard from client machine through Logstash

**URL:** https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043
**Category:** Logstash
**Created:** [May 18, 2020, 6:49am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043 "2020-05-18T06:49:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vijazy](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vijazy](https://discuss.elastic.co/u/vijazy)
#### Post date: [May 18, 2020, 6:49am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043/1 "2020-05-18T06:49:55Z")

</div>

Hi elastic team ,

I am new in ELK, I am trying to implement ELK on production environment. I have configured Elasticsearch,kibana and logstash..

host1 - elasticsearch,kibana ,logstash with nginx proxy  
host2- Clientmachine installed with beats

here is the host1 machine configuration(ELK server)

Elasticsearch Configuration  
vi /etc/elasticsearch/elasticsearch.yml  
network.host: localhost  
http.port: 9200

Kibana Dashboard Configuration  
vi /etc/kibana/kibana.yml  
server.port: 5601  
server.host: "localhost"  
elasticsearch.hosts: ["[http://localhost:9200](http://localhost:9200)"]

Nginx Configuration:

server {  
listen 80;

```
server_name 172.xx.xx.xx;

auth_basic "Restricted Access";
auth_basic_user_file /etc/nginx/.kibana-user;

location / {
    proxy_pass http://localhost:5601;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
}

```

}

Logstash Configuration

cat /etc/logstash/conf.d# cat 02-beats-input.conf  
input {  
beats {  
port =\> 5044  
}  
}

I have configured filtersection too..

cat /etc/logstash/conf.d# cat 30-elasticsearch-output.conf  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
sniffing =\> true  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"  
}  
}

On Host2 (Client server) Beat configuration

Auditbeat configuration:

cat /etc/auditbeat/auditbeat.yml

output.logstash:  
#the logstash hosts  
hosts: ["172.xx.xx.xx:5044"]

above is my Elk server and Client server Configuration.

here, i am not sure how to load auditbeat index/dashboard in kibana. When i try to setup kibana dashboard for auditbeat, i got following error.

[root@Elk-Client1 ~]# auditbeat setup  
Exiting: Index management requested but the Elasticsearch output is not configured/enabled

I don't want to configure beat output directly to elasticsearch for security purpose.

Can you give some suggestion to sort this issue ?

Note: My goal is ships logs through logstash and visible to kibana dashboard.

Thanks

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 18, 2020, 6:56am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043/2 "2020-05-18T06:56:52Z")

</div>

Is there a reason you are using nginx auth rather than the free and built-in Security functionality?

---

<div class="post-metadata">

### Author: ![vijazy](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vijazy](https://discuss.elastic.co/u/vijazy)
#### Post date: [May 18, 2020, 7:32am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043/3 "2020-05-18T07:32:54Z")

</div>

Hi warkolm,

I am using nginx auth for additional security. Even if i not use ngnix authentication, i would like to restirct my elasticsearch port access only localhost using basic nginx.

Thanks

---

<div class="post-metadata">

### Author: ![vijazy](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@vijazy](https://discuss.elastic.co/u/vijazy)
#### Post date: [May 19, 2020, 5:59am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043/4 "2020-05-19T05:59:15Z")

</div>

HI Guys,

Anybody gives hints to setup ELK for my requirements ?

Thanks

---

<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: [June 16, 2020, 6:10am UTC](https://discuss.elastic.co/t/how-to-create-kibana-dashboard-from-client-machine-through-logstash/233043/5 "2020-06-16T06:10:08Z")

</div>

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