- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-26-2018 07:43 AM - edited 06-27-2018 07:55 AM
Hi everyone,
I have added firewall logs from our Palo Alto 5000 series to the Expedition VM /PALogs . I have copied the orginal .csv as a duplicate with root as the owner and the original with expedition as the owner. Both files appear in Devices > M.LEARNING. When I run Process Files the job remains in pending and nothing happens. Any ideas what the issue may be?
06-26-2018 09:02 AM
Most likely the webserver does not have permission - specifically for one owned by root.
Try this from root dir
sudo chown -R www-data:www-data PALogs/
06-26-2018 09:22 AM
Ok so I tried running:
sudo chown -R www-data:www-data PALogs/
Unfortunatley the job is still in pending and not procesing. any other thoughts?
Thanks for the assistance.
06-26-2018 09:53 AM
Where is your machine learning path set up and does www-data have proper permissions in that folder to output the files after they have been processed?
06-26-2018 10:00 AM
This is what I have configured for the machine learning paths:
06-26-2018 10:30 AM
That looks good.
Just thinking outloud and giving a few possible solutions:
Run these:
sudo apt -o "Acquire::AllowInsecureRepositories=true" -o "Acquire::AllowDowngradeToInsecureRepositories=true" update sudo apt upgrade sudo apt upgrade ------------------------- Then edit /etc/php/7.0/apache2/php.ini line mysqli.reconnect = off (change to on) Then edit /etc/php/7.0/cli/php.ini line mysqli.reconnect = off (change to on) ------------------------------- sudo service apache2 restart sudo php /var/www/html/bin/updates/updateSQL.php
06-26-2018 10:46 AM
Thanks again for all of your help. I tried the suggestions you made and was still unable to process the csv. It remains on pending, I've also tried to remove the process and start over again but yield the same results.
Thanks
06-26-2018 10:49 AM
Then try to export that csv and see if it is valid log export, maybe it got corrupted in the process and expedition does tell you that.
06-26-2018 11:22 AM
Ok so I re-exported the csv then scp'd it over to expedition, still no luck. I then deleted the vm and re-downloaded and re-setup a new vm, same issue. Maybe there is a bug in the newest release?
06-26-2018 11:27 AM
After executing this
sudo chown -R www-data:www-data PALogs/
My firewalls no longer have permission to SCP log files to Expedition.
What should the overall permissions be for the logs folder?
06-26-2018 11:32 AM
Esfeld,
Permissions depend on which directory you use for machine learning and which one for logs. In case they are the same, you would have to change the permissions every time you try to process or SCP. If not then you can make a group and make the group the owner of the directory.
In order to make them able to just SCP you would run which in turn would make expedition the owner instead of the www-data which is used to process them
sudo chown -R expedition:expedition PALogs/
06-27-2018 07:56 AM
Does anyone have any suggestions? I'm still unable to process the firewall logs and would really like to get this working.
Thanks!
06-27-2018 11:18 AM
send me an email to fwmigrate at paloaltonetworks dot com and we can do a Zoom session
07-06-2018 12:09 AM - edited 07-06-2018 12:14 AM
If you update to the latest version of Expedition 1.0.98, you will get more information regarding the logs that you are attempting to process.
Things that may occur:
08-07-2018 02:30 PM
How does on upgrade to the latest version? I've tried the apt-get update and apt-get expedition beta cmd's and I keep getting the "1.0.8x " is the latest version. I've tried the unauthenticated -o commands as well, and still can't get the OS to recognize that the install is old. Any suggestions on upgrading/where to find the latest hotfixes/installs for this?
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!