# Logstash with Point to Point

**URL:** https://discuss.elastic.co/t/logstash-with-point-to-point/277047
**Category:** Logstash
**Created:** [June 25, 2021, 11:03am UTC](https://discuss.elastic.co/t/logstash-with-point-to-point/277047 "2021-06-25T11:03:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Dylan\_McAloo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_dylan_mcaloo/32/80928_2.png) [@Michael\_Dylan\_McAloo](https://discuss.elastic.co/u/Michael_Dylan_McAloo)
#### Post date: [June 25, 2021, 11:03am UTC](https://discuss.elastic.co/t/logstash-with-point-to-point/277047/1 "2021-06-25T11:03:07Z")

</div>

In Kibana I try to use the "Point to Point" map but it doesn't show me anything because I only have two fields called "geoip.location" and "location" and I don't have the destination field to filter and "geoip.location" only collects data from the origin IP.

![image](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e465561626ce0ca8e171f9c67ddf9b91aff2dc17.png)

Here is the Logstash configuration code:

```auto
input {
    file {
        path => "/var/log/snort/alert_fast.txt"
        start_position => "beginning"
    }
}

filter {
  dissect { mapping => { "message" => '%{timestamp} [%{t1} "%{alert}" [%{extra}{%{proto}} %{ip_ori}:%{port_ori} %{t2} %{ip_dest}:%{port_dest>
  geoip { source => "ip_ori" }
  geoip { destination => "ip_dest" }
}

output {
    elasticsearch {
        hosts => "http://localhost:9200"
        index => "logstash-snort3a"
    }
    stdout { codec => rubydebug }
}

```

---

<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: [July 23, 2021, 11:03am UTC](https://discuss.elastic.co/t/logstash-with-point-to-point/277047/2 "2021-07-23T11:03:16Z")

</div>

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