All Apps and Add-ons

Newbie question on installing TA add-on for Windows

SLowry
New Member

I've downloaded TA for Windows & un-zipped it. (I downloaded the previous version, due to the message on the 4.5 edition not working with the Windows app.) I'm trying to manually install/enable it for use with the Universal Forwarder.

The Universal Forwarder installed in C:\Program Files\SplunkUniversalFowarder. Should this be moved to c:\program Files\Splunk?

I created C:\Splunk\etc\apps, where I copied the unzipped folder (Splunk_TA_windows). I created a folder in there named Local. I copied the inputs.config from the default folder to the Local folder.

Now I'm trying to edit the file to enable various data events. When I open the file in NotePad, it's just one/two long lines of data. Should I format the file in any way, or just leave it as is? Seems to me it needs formatting, but how & where I don't know. This is an example from the file to demonstrate my point:

    [WinEventLog:Application]
    disabled = 0start_from = oldestcurrent_only = 1checkpoint
0 Karma

lguinn2
Legend

Splunk does not care where you install it - you could install it under C:\SLowry and it would work. However, once it is installed on Windows, wherever it is, don't move it. Splunk installs a service on a Universal Forwarder (UF) and that's why moving Splunk is a bad idea.

On a UF, the installation directory ($SPLUNK_HOME) defaults to
C:\Program Files\SplunkUniversalForwarder. (I think this is your case.) You don't need C:\Splunk\etc\apps. There will be a directory
C:\Program Files\SplunkUniversalForwarder\etc\apps - that's where the Splunk_TA_Windows directory should go. So you should move it there (local directory and all).

Finally, the configuration files appear to have nonstandard line endings for Windows. In text files, Linux ends lines with LF but Windows uses CRLF. All the files whose names end in .conf will be like this. Notepad will be confused, but I think Wordpad or Notepad++ will handle this correctly. I know that Komodo Edit (free version for Windows) will handle and convert line endings properly. There are other tools out there that will do the conversion as well.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...