# Palo Alto filter

**URL:** <https://discuss.elastic.co/t/palo-alto-filter/132838>\
**Category:** Logstash\
**Created:** [May 22, 2018, 2:28pm UTC](https://discuss.elastic.co/t/palo-alto-filter/132838 "2018-05-22T14:28:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asalma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asalma/32/32199_2.png) [@asalma](https://discuss.elastic.co/u/asalma)\
**Post date:** [May 22, 2018, 2:28pm UTC](https://discuss.elastic.co/t/palo-alto-filter/132838/1 "2018-05-22T14:28:01Z")

</div>

Please is this part of config file correcte :

```auto
else if [fields][log_type] == "paloalto" {
                csv {
                        "data" => "FUTURE_USE", "Receive Time", "Serial Number", "Type", "Subtype", "FUTURE_USE", "Generated Time", "src_ip", "dst_ip", "NAT Source IP", "NAT Destination IP", "Rule Name", "Source User", "Destination User", "Application", "Virtual System", "Source Zone", "Destination Zone", "src_interface", "dst_interface", "Log Forwarding Profile", "FUTURE_USE", "Session ID", "Repeat Count", "src_port", "dst_port", "NAT Source Port", "NAT Destination Port", "Flags", "protocol", "action", "Bytes", "Bytes Sent", "Bytes Received", "Packets", "Start Time", "Elapsed Time", "Category", "FUTURE_USE", "Sequence Number", "Action Flags", "Source Location", "Destination Location", "FUTURE_USE", "Packets Sent", "Packets Received", "Session End Reason", "Device Group Hierarchy Level 1", "Device Group Hierarchy Level 2", "Device Group Hierarchy Level 3", "Device Group Hierarchy Level 4", "Virtual System Name", "hostname", "Action Source"
                }
                mutate {
                        remove_field => ["data"]
                }
        }

```

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 24, 2018, 8:45pm UTC](https://discuss.elastic.co/t/palo-alto-filter/132838/2 "2018-05-24T20:45:03Z")

</div>

No, the line with `"data" => ...` is wrong. Perhaps you mean

```nohighlight
csv {
  source => "data"
  columns = > ["FUTURE_USE", "Receive Time", ...]
  remove_field => "data"
}

```

?

---

<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 21, 2018, 8:45pm UTC](https://discuss.elastic.co/t/palo-alto-filter/132838/3 "2018-06-21T20:45:07Z")

</div>

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