...
For the server or container hosting Telegraf
download and install the Influx Telegraf agent that corresponds to your OS athttps://portal.influxdata.com/downloads/
Copy the Telegraf_Boomi_Processes.conffile into the Influx Telegraf folder (the folder should contain the telegraf.exe and the default telegraf.conf file). You can download the configuration file here.
Download the Boomi_processesBoomiProcesses.ps1 PowerShell script into your Telegraf folder (same place where you put the Telegraf_Boomi_Processes.conf). You can download the script here
Telegraf configuration
In the “outputs.http” section sections of the config file there is a field are fields with the name “authenticate”. Place your Eyer agent API token here.
In the “inputs.exec” section sections of the config file there is a field are fields with the name “commands”. Insert the path to your Telegraf folder and PowerShell script here (the folder should contain the telegraf.exe and default config file). It should look something like the line below (NOTE! Use the short name version of the folder name if the folder name contains any spaces. In a cmd window you can write “dir /x" to list the short version name of any directory)
Code Block commands = ['powershell -command "& { . C:\PROGRA~1\InfluxData\telegraf-1.31.2_windows_amd64\telegraf-1.2831.2\BoomiProcesses.ps1; RegularProcess }"']
In the “inputs.file” sections, make sure to add the path to your telegraf folder as shown below (NOTE! Forward slashes).
Code Block files = ["C:/telegraf-1.31.2_windows_amd64/telegraf-1.31.2/Transactions*.json"]
Save the Telegraf config file
Powershell script configuration
Open / edit the Boomi_processes.ps1 PowerShell script
Replace all variable in the top section with your AtomSphere API token & username, Boomi account Id and Telegraf path. In your Telegraf path, make sure you have a “\” at the end of the path, like
Code Block $TelegrafPath = 'C:\Program Files\InfluxData\telegraf\telegraf-1.28.2\'
Save the PowerShell file
Register the Telegraf agent as a service and start it(see instructions per OS). With Windows use
Code Block telegraf --config "C:\Program Files\InfluxData\telegraf\telegraf-1.28.2\Telegraf_Boomi_Processes.conf" --service-name BoomiProcess service install
Start the Telegraf service.
...