<commit_before>#Freenas app for Splunk

This repo contains a freenas app for Splunk®

http://www.freenas.org/

##Inputs

###.SH
There are several .sh scripts in /bin directory that need to be placed on a persistent dataset on the freenas server with a cron job associated with them, set to run every few minutes.

https://doc.freenas.org/9.3/freenas_tasks.html

these scripts output to “logger” - which is the syslog output

###Syslog

You need to configure freenas to log to a central server (Splunk®) for the data to be ingested, point to port 1514 e.g. 

	192.168.1.2:1514

https://doc.freenas.org/9.3/freenas_system.html#general

###Local Weather input (Optional)

To compare local temps with system temps I added a json API input via http://openweathermap.org

Its free to signup - edit inputs.conf with your location information and appid (API key)

##VERY IMPORTANT NOTE

**This app is incomplete**
<commit_msg>readme update<commit_after>#Freenas app for Splunk

This repo contains a freenas app for Splunk®

http://www.freenas.org/

##Inputs

###.SH
There are several .sh scripts in /TA-SH_files_for_freenas directory that need to be placed on a persistent dataset on the freenas server with a cron job associated with them, set to run every few minutes.

https://doc.freenas.org/9.3/freenas_tasks.html

these scripts output to “logger” - which is the syslog output

also once copied over this may be your friend :)

```sh
chmod 777 foo.sh
```

###Syslog

You need to configure freenas to log to a central server (Splunk®) for the data to be ingested, point to port 1514 e.g. 

	192.168.1.2:1514

https://doc.freenas.org/9.3/freenas_system.html#general

###Local Weather input (Optional)

To compare local temps with system temps I added a json API input via http://openweathermap.org

Its free to signup - edit inputs.conf with your location information and appid (API key)

##VERY IMPORTANT NOTE

**This app is work in progress**

Please submit issues, improvements patches to github - http://j-c-b.github.io/freenas_splunk/

{'fraction_non_alphanumeric': 0.08402948402948403, 'fraction_numerical': 0.02113022113022113, 'mean_word_length': 4.03960396039604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2155447', 'n_tokens_mistral': 681, 'n_tokens_neox': 637, 'n_words': 276}