From 476ab0cb3bb30f42d97ff3c66f1256379b5492fc Mon Sep 17 00:00:00 2001 From: devan78 Date: Thu, 25 May 2017 07:45:12 +0100 Subject: [PATCH 1/2] added listening on TCP:9997 --- files/applications/splab_all_inputs.tar.gz | Bin 0 -> 1136 bytes tasks/main.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 files/applications/splab_all_inputs.tar.gz diff --git a/files/applications/splab_all_inputs.tar.gz b/files/applications/splab_all_inputs.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..12c4386309a1decf907520c809a07b4dd27c5905 GIT binary patch literal 1136 zcmV-$1dsb4iwFSmcP3c?1MQk^Z`(Ey$NgHL;t;!A*k0>HCRNQ>~9pwaB?Wm3uRcW{T!GJC5L{j>b$K%PmkZg9&q&yc{Q5wD9X&x7e zJ=cDFaS*S*L$4~oq2u*E&kJI&A7Qx{pg{-1AJCT#N^O_|=;%V0*_V2|ZRdYc^t%2j zzhI>_O^$;d^!L5UNBzSf=#&0!P^^a|2PW#4!BL+ z;5Po}`k$@t%Ou6Y{{CPvh^I~}G@D7D!V$R6bN7$ZoU3}H~dzA z--~^U|61V?^##qDO6KQRf-jHuRtI~K*D4ZJtuR$kn}PnB@1LNSU6`a;DPN$wNCl-%ybHc(%@e`|zKb724VV z`>y9l10hHpQN9@$2<#Sgx-|Bu)8_izA^|8Ij~ngXg1X3n9K8h_W6i-a9uF2*8N2s0uD1IZ!zs>{VzbIPE|Ke)l()@3OuG58ab!*jh zw~C9)QZXa)3@(J^PSym_Z3NFRF+Ai-170@y{p4T}$FYOW>Qy~n5BvPwPyOd%WBxC=VGZW~ zEW7Xj!!V}zf2~lj|LvyV7CfzuZT>&<`|I()8;9io+W_7FuqdQRDv$q4qDz%faJ3NH zI!uke8hvz#4)P+I>G(r?1hcFPxSA$?5TlwJcO#)EZ4rhabm(9G`x$mPWBmqr+d+ zn!i6je)m^ZtIYE+WqrM${v3TCPll7x_@G)f5&w z++Bne^}?R-Eb`Qdg$?JtU=T(FA64mjuLtgHjLmJ>XD_@9;~skX0BdmRwenBH#{8d& ztm*%N?H>OHVMOs?E8MI9ld^rAY|sC#`+s!*l>cjmiB0R_XNg{%+q56xC;*mS!)o)b ztFk4_j17BOn%b`_7ibei Date: Fri, 26 May 2017 11:11:33 +0100 Subject: [PATCH 2/2] Renamed default Splunk cooked input to something sensible --- files/applications/splab_all_inputs.tar.gz | Bin 1136 -> 0 bytes files/applications/splab_splunk_inputs.tar.gz | Bin 0 -> 1156 bytes tasks/main.yml | 6 ++---- 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 files/applications/splab_all_inputs.tar.gz create mode 100644 files/applications/splab_splunk_inputs.tar.gz diff --git a/files/applications/splab_all_inputs.tar.gz b/files/applications/splab_all_inputs.tar.gz deleted file mode 100644 index 12c4386309a1decf907520c809a07b4dd27c5905..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1136 zcmV-$1dsb4iwFSmcP3c?1MQk^Z`(Ey$NgHL;t;!A*k0>HCRNQ>~9pwaB?Wm3uRcW{T!GJC5L{j>b$K%PmkZg9&q&yc{Q5wD9X&x7e zJ=cDFaS*S*L$4~oq2u*E&kJI&A7Qx{pg{-1AJCT#N^O_|=;%V0*_V2|ZRdYc^t%2j zzhI>_O^$;d^!L5UNBzSf=#&0!P^^a|2PW#4!BL+ z;5Po}`k$@t%Ou6Y{{CPvh^I~}G@D7D!V$R6bN7$ZoU3}H~dzA z--~^U|61V?^##qDO6KQRf-jHuRtI~K*D4ZJtuR$kn}PnB@1LNSU6`a;DPN$wNCl-%ybHc(%@e`|zKb724VV z`>y9l10hHpQN9@$2<#Sgx-|Bu)8_izA^|8Ij~ngXg1X3n9K8h_W6i-a9uF2*8N2s0uD1IZ!zs>{VzbIPE|Ke)l()@3OuG58ab!*jh zw~C9)QZXa)3@(J^PSym_Z3NFRF+Ai-170@y{p4T}$FYOW>Qy~n5BvPwPyOd%WBxC=VGZW~ zEW7Xj!!V}zf2~lj|Lvy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Tyit)1G)gPYyr!~cU2vmvrLc0Shb+$kPyhf81X}L^ literal 0 HcmV?d00001 diff --git a/tasks/main.yml b/tasks/main.yml index 2e2ba18..565ab99 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -69,15 +69,13 @@ unarchive: src: "{{ item }}" dest: "/opt/splunk/etc/apps/" - creates: "/opt/splunk/etc/apps/splab_all_inputs" + creates: "/opt/splunk/etc/apps/splab_splunk_inputs" owner: "{{ splunk_user_name }}" group: "{{ splunk_group_name }}" with_fileglob: - - "applications/splab_all_inputs.tar.gz" + - "applications/splab_splunk_inputs.tar.gz" become: yes - - - name: Enable Splunk to start at boot command: "/opt/splunk/bin/splunk enable boot-start -user splunk --accept-license" become: yes