All Apps and Add-ons

TA installation in distributed environment

chrisdev
Explorer

I have a simple TA that makes a request to a REST endpoint and writes the data to the index (no UI associated with this, only indexing).  Im exploring a distributed Splunk environment (with a forwarder, indexer and search head) but im unsure where to install the TA. On the forwarder, the indexer or somewhere else?

Reading similar forum posts it appears that the answer can depend on the TA, however what about a TA decides in what environment it should be installed?

Labels (2)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

That’s true. If TA has search time REST calls or something similar then it should be placed on SH layer. But in those cases, if it doing indexing also it needs to install indexing / forwarder layer too. Personally I tried to avoid installing anything to indexing layer and prefer always dedicated HFs, as almost all changes to TAs cause rebooting or other ways disturbing searches. Only exemptions are indexing definitions which must be on indexing layer.

shortly:

  • search time activities-> SH layer
  • index definitions -> indexer layer via CM
  • indexing activities -> separate HF (usually only into one node)

more https://docs.splunk.com/Documentation/AddOns/released/Overview/Distributedinstall

r. Ismo

View solution in original post

ephemeric
Contributor

It also depends on your network topography. The TA must be able to connect to said REST API.

There is "search time" and "index time" and if your TA does the latter, it belongs on an indexer.

Nothing precludes your TA being installed on a SUF and writing to a file waiting to be forwarded...

0 Karma

isoutamo
SplunkTrust
SplunkTrust

That’s true. If TA has search time REST calls or something similar then it should be placed on SH layer. But in those cases, if it doing indexing also it needs to install indexing / forwarder layer too. Personally I tried to avoid installing anything to indexing layer and prefer always dedicated HFs, as almost all changes to TAs cause rebooting or other ways disturbing searches. Only exemptions are indexing definitions which must be on indexing layer.

shortly:

  • search time activities-> SH layer
  • index definitions -> indexer layer via CM
  • indexing activities -> separate HF (usually only into one node)

more https://docs.splunk.com/Documentation/AddOns/released/Overview/Distributedinstall

r. Ismo

ephemeric
Contributor

I like it! Well said.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

in normal case on distributed environment all TAs which get data into indexers should installed on (heavy) forwarders. 
r. Ismo

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...