Skip to content

Commit

Permalink
Merge branch 'release/v4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
btorresgil committed Oct 21, 2013
2 parents 2b948e4 + 0398281 commit a402fff
Show file tree
Hide file tree
Showing 128 changed files with 2,809 additions and 5,174 deletions.
49 changes: 26 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Networks Firewall

#### Version ####

* Splunk Version: 5.x
* App Version: 3.4
* Last Modified: Sept 2013
* Splunk Version: 6.x
* App Version: 4.0
* Last Modified: Oct 2013
* Authors:
* Monzy Merza - Splunk, Inc.
* Brian Torres-Gil - Palo Alto Networks
Expand All @@ -25,33 +25,28 @@ Many Thanks to Contributors, Advisors, Testers:
* David Hazekamp, Mike Munn, Adam Sealey
* David Markquardt, Gerald Kannapathy
* Will Hayes, Marc Benoit, Jeff Hillon
* Genti Zaimi
* Genti Zaimi, Scott Brenner, Steve Brown

#### Support ####

For fastest response to support, setup, help or feedback, please post to
http://answers.splunk.com and tag your questions with `paloalto`.
For fastest response to support, setup, help or feedback,
please click the __Ask a Question__ button at http://apps.splunk.com/app/491

For bugs or feature requests, you can also open an issue on github at
https://github.com/PaloAltoNetworks-BD/SplunkforPaloAltoNetworks/issues

## IMPORTANT ##

This app ONLY works on Splunk 5.x
This app ONLY works on Splunk 6.x

## Dependencies ##

This app depends on the following Splunk Apps available from Splunk Base http://splunk-base.splunk.com/apps/ :
For Splunk 5.x, use version 3.x of this app.

- [Splunk for use with AMMAP Flash maps] (http://splunk-base.splunk.com/apps/22372/splunk-for-use-with-ammap-flash-maps)
- [Google Maps] (http://splunk-base.splunk.com/apps/22365/google-maps)
- [Geo Location Lookup Script] (http://splunk-base.splunk.com/apps/22282/geo-location-lookup-script-powered-by-maxmind)
## Dependencies ##

You do not need to install these apps if you do not wish to use the mapping and geo location features. The main dashboard will not render properly without the above apps.
No dependencies

## Installing ##

- Ensure that the apps listed in the Dependencies section are installed.
- Unpack the tar ball into `$SPLUNK_HOME/etc/apps`
- Restart Splunk

Expand Down Expand Up @@ -109,6 +104,7 @@ Log can be further filtered by type during search by using predefined macros. T
- pan_traffic
- pan_threat
- pan_url
- pan_file
- pan_data
- pan_wildfire
- pan_wildfire_report
Expand Down Expand Up @@ -141,7 +137,7 @@ If you have any questions, or require any assistance with configuration please c

### High Performance Value Store (HPVS) ###

The app uses the HPVS feature introduced in Splunk 5.0. This feature provides a tremendous performance improvement for dashboards and views. The views and dashboards make use of saved searches that store data on your search head. This means that disk storage on your search head will be consumed as a result of these searches. If you turn off these saved searches, your dashboards will not render. Or dashboard rendering will be really, really slow. Please post a question to answers.splunk.com if you'd like to explore alternatives.
The app uses the HPVS feature introduced in Splunk 5.0 and 6.0. This feature provides a tremendous performance improvement for dashboards and views. The views and dashboards make use of saved searches that store data on your search head. This means that disk storage on your search head will be consumed as a result of these searches. If you turn off these saved searches, your dashboards will not render. Or dashboard rendering will be really, really slow. Please post a question to answers.splunk.com if you'd like to explore alternatives.

### Lookups ###

Expand All @@ -153,16 +149,23 @@ All the dashboards work without any filtering values for the form fields. If you

Keep in mind that searches that have longer time ranges may take a little longer to return the results.

## What's new in this version ##
### Modifying dashboards ###

Version 3.4
Dashboards are built with SimpleXML, so they can be modified using the Splunk GUI. To do this, click the __Edit__ menu in the top right of the dashboard and select __Edit Panels__. You can drag panels to new positions, change the visualization (pie, column, area, etc), and modify the searches. If you modify a dashboard and want to recover the original dashboard, delete the modified dashboard file in `$SPLUNK_HOME/etc/apps/SplunkforPaloAltoNetworks/local/data/ui/views` and restart Splunk.

- NetFlow support using NetFlow Integrator, a 3rd party program from NetFlow Logic
- New set of dashboards, charts and graphs centered around NetFlow records from Palo Alto Networks devices
- App-ID and User-ID information is available in NetFlow records
## What's new in this version ##

Download a 30-day free trial of NetFlow Integrator at https://www.netflowlogic.com/downloads
Steps to configure NetFlow are available in the **NetFlow** section above.
Version 4.0

- Splunk 6 support
- Dashboards converted to Splunk 6 SimpleXML, meaning dashboards can now:
- Print
- Export as pdf
- Produce scheduled reports
- Use pre-populated dropdowns in filters
- Change using SplunkWeb by editing the panels
- Maps converted to Splunk 6 built-in maps (removes dependencies on other apps)
- Updated navbar including icons and colors

## Installing from Git ##

Expand Down
7 changes: 6 additions & 1 deletion appserver/controllers/nfi_nav_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@
APP = 'SplunkforPaloAltoNetworks'
ENABLED_NAV = os.path.join(os.environ['SPLUNK_HOME'], 'etc', 'apps', APP, 'default', 'data', 'ui', 'nav', 'default.xml.nfi_enabled')
DISABLED_NAV = os.path.join(os.environ['SPLUNK_HOME'], 'etc', 'apps', APP, 'default', 'data', 'ui', 'nav', 'default.xml.nfi_disabled')
NAV = os.path.join(os.environ['SPLUNK_HOME'], 'etc', 'apps', APP, 'default', 'data', 'ui', 'nav', 'default.xml')
NAV_DIR = os.path.join(os.environ['SPLUNK_HOME'], 'etc', 'apps', APP, 'local', 'data', 'ui', 'nav')
NAV = os.path.join(os.environ['SPLUNK_HOME'], 'etc', 'apps', APP, 'local', 'data', 'ui', 'nav', 'default.xml')

class NAVHANDLER(controllers.BaseController):
@expose_page(must_login=True, methods=['GET'])
def enable(self, **kwargs):
if not os.path.exists(NAV_DIR):
os.makedirs(NAV_DIR)
try:
shutil.copy(ENABLED_NAV, NAV)
except:
pass
return 'Enabled!'
@expose_page(must_login=True, methods=['GET'])
def disable(self, **kwargs):
if not os.path.exists(NAV_DIR):
os.makedirs(NAV_DIR)
try:
shutil.copy(DISABLED_NAV, NAV)
except:
Expand Down
Binary file removed appserver/static/SplunkPoweredOrig.png
Binary file not shown.
19 changes: 0 additions & 19 deletions appserver/static/ammap.html

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed appserver/static/ammap/ammap.swf
Binary file not shown.
Loading

0 comments on commit a402fff

Please sign in to comment.