# Palo Alto Logs Not Parsing Properly with panw Module in Filebeat

**URL:** https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269
**Category:** Beats
**Tags:** filebeat
**Created:** [December 1, 2024, 5:30am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269 "2024-12-01T05:30:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ssovee](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@ssovee](https://discuss.elastic.co/u/ssovee)
#### Post date: [December 1, 2024, 5:30am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/1 "2024-12-01T05:30:46Z")

</div>

Hi Team,

I am using Palo Alto VM version **11.0.1** and forwarding syslogs to Elasticsearch through Filebeat using the `panw` module. While I can see the logs in Kibana, they are not being parsed properly. All the traffic logs are appearing in the `event.original` field, and no other fields are being populated. Here's an example log from the `event.original` field:

\< \<14\>1 2024-12-01T11:20:03+06:00 PA-VM-Unit-1 - - - - netbios-dg 192.168.10.117 138 192.168.10.255 138 allow for log/\>

Here’s my `panw.yml` configuration:

\<

- module: panw  
panos:  
enabled: true  
var.input: syslog  
panos:  
var.syslog\_host: 0.0.0.0  
var.syslog\_port: 9001  
/\>

### What I Have Done:

1. Verified that the logs are reaching Filebeat and Elasticsearch.
2. Checked that the `panw` module is enabled and configured for syslog input.
3. Observed that all logs are in `event.original` without being parsed.

### Questions:

1. Is there anything I am missing in the configuration?
2. Do I need to adjust the log format on the Palo Alto side for the `panw` module to parse the logs properly?
3. Are there additional steps required to ensure compatibility with Palo Alto VM version **11.0.1**?

Any guidance would be greatly appreciated!

Thanks in advance.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [December 1, 2024, 2:37pm UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/2 "2024-12-01T14:37:42Z")

</div>

What version of the stack?

Did you run setup BEFORE starting filebeat / sending logs? Otherwise it will not work

`filebeat setup -e`

Do have logstash in the ingest flow?

---

<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: [December 1, 2024, 3:17pm UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/3 "2024-12-01T15:17:04Z")

</div>

I don't think that the `panw` module will parse this kind of logs.

It is built to parse some firewall messages, not messages from the virtualized firewall VM.

It expect a **csv** message.

I think you will need to configure your device to send the traffic logs to one port and the vm logs to a generic syslog input.

---

<div class="post-metadata">

### Author: ![ssovee](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@ssovee](https://discuss.elastic.co/u/ssovee)
#### Post date: [December 2, 2024, 5:14am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/4 "2024-12-02T05:14:37Z")

</div>

Hi,  
Elasticsearch & Kibana version 8.16.0, Filebeat version 8.16.1 . I have run filebeat setup -e command. I am getting Fortinet & Sophos parsed logs using the module but not for Paloalto.  
I did not use Logstash.

---

<div class="post-metadata">

### Author: ![ssovee](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@ssovee](https://discuss.elastic.co/u/ssovee)
#### Post date: [December 2, 2024, 5:17am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/5 "2024-12-02T05:17:38Z")

</div>

Hi,  
I have Fortinet, Sophos, Paloalto VM. I am forwarding log to specific port. I have three different fiIebeat server for each firewalls log. I am getting Fortinet & Sophos parsed logs using module but not for Paloalto.

---

<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: [December 2, 2024, 1:49pm UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/6 "2024-12-02T13:49:42Z")

</div>

> [@ssovee](#):
>
> I am getting Fortinet & Sophos parsed logs using module but not for Paloalto.

The example message you shared are not exactliy Palo Alto logs, they are logs for the VM that virtualizes your Firewall.

The logs that the module will parse are the Traffic logs, which are in a CSV format, what you shared is a syslog message from the VM, which will not be parsed by this module.

Are you getting any traffic or threat logs? If not, then your configuration on Palo Alto side is not correctly yet.

---

<div class="post-metadata">

### Author: ![ssovee](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@ssovee](https://discuss.elastic.co/u/ssovee)
#### Post date: [December 3, 2024, 8:30am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/7 "2024-12-03T08:30:14Z")

</div>

I am sharing how I forward log from my VM to a server.

1. Device\>server profile\>syslog server  
here, I am sending UDP at port 514 in BSD/IETF format

2. Object\>log forwarding  
here, I am sending traffic,url,threat,auth,data,decryption,tunnel,wildfire log on that syslog server

3. In Policy I have added the log forwarding profile in security policy's log forwarding option

Is this process ok? Or you can suggest me the process.

---

<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: [December 3, 2024, 12:43pm UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/8 "2024-12-03T12:43:57Z")

</div>

> [@ssovee](#):
>
> here, I am sending traffic,url,threat,auth,data,decryption,tunnel,wildfire log on that syslog server

You need to configure this to send to your Filebeat on the port you configured, whic seems to be `9001`.

Is this the configuration?

---

<div class="post-metadata">

### Author: ![ssovee](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@ssovee](https://discuss.elastic.co/u/ssovee)
#### Post date: [December 4, 2024, 7:00am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/9 "2024-12-04T07:00:15Z")

</div>

I changed the listening port from 514 to 9001, but the output remains the same. It appears that when Palo Alto forwards logs to the Filebeat server, the original log is being stored as a single field named `event.original`.

As a result, the `panw` module in Elasticsearch is parsing the entire log message into one field instead of breaking it down into multiple fields like `IP`, `Port`, `Hostname`, `Application`, etc. In Kibana, I see the complete log message in a single column instead of a structured format.  
Any advice on resolving this and ensuring proper parsing would be appreciated.

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [December 4, 2024, 7:01am UTC](https://discuss.elastic.co/t/palo-alto-logs-not-parsing-properly-with-panw-module-in-filebeat/371269/10 "2024-12-04T07:01:47Z")

</div>

please show an entire document json from discover please.
