- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-13-2023 09:00 AM
Hi all, I'm trying to set up Expedition as a Syslog server. I am following the guides, but a folder under /PALogs is never created with the management IP of firewall sending the logs. Any suggestions?
04-13-2023 09:38 AM
Hi @tnamba_evotek If /PALogs folder does not exist, you will need to manually create them in the Expedition. Please review the tutorial video https://youtu.be/Ozjx0rfRRmI
04-13-2023 09:54 AM
/PALogs directory is there, but the directory under that never gets created with the management IP of the firewall (10.0.0.1). I tried creating the 10.0.0.1 directory manually, but no logs ever get populated.
04-13-2023 09:57 AM
@tnamba_evotek The subfolder should be auto created when Expedition received syslog from firewall. You can try to use "chmod" to change the folder permission, so firewall can write to it , all those are in the tutorial video .
04-13-2023 10:10 AM
That is my issue, it is not getting created automatically and when I manually create it, the logs never show up. I used chmod and chown to mirror the /PALogs directory permission and ownership to the 10.0.0.1 directory.
04-13-2023 10:31 AM - edited 04-13-2023 10:32 AM
@tnamba_evotek Make sure you have modified
/var/www/html/OS/rsyslog/rsyslog.conf to be like the sample in the same directory , for example, if you are sending the syslog in udp , you will reference the rsyslog.default-udp in the same directory, double check below:
1. You have added your firewallIPs as allowed list in the section of the rsyslog.conf
# specify senders you permit to access
$AllowedSender TCP, 127.0.0.1, 10.11.29.0/24, 172.16.26.0/24, *.paloaltonetworks (add your firewall IPs)
.com
$AllowedSender UDP, 127.0.0.1, 10.11.29.0/24, 172.16.26.0/24, *.paloaltonetworks (add your firewall IPs)
.com
2. In the below section, make sure the folder is /PALogs and the folder exist in your system: (Folder name is Case sensitive)
$template DynaTrafficLog,"/PALogs/%FROMHOST-IP%/%HOSTNAME%_traffic_%$YEAR%_%$MON
TH%_%$DAY%_last_calendar_day.csv"
3. After modify and save the file, make sure you restart the VM
04-15-2023 04:40 PM
Yes, that is all in the guide which I followed.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!