The check for collectd version is placed in the install_agent script. Collectd 5.9 was just released and we haven't yet tested plugin with it. It should mostly work fine though. And , we plan to add support in the next release.
In the meanwhile, you can try :
manual install https://docs.splunk.com/Documentation/InfraApp/1.4.0/Admin/ManageAgents
... View more
I think this might work:
1. In SH and Indexers you will have collectd running (pointing to "localhost").
2. SH collectd data forwarded to Indexer using inputs.conf (udp input) and outputs.conf (https://answers.splunk.com/answers/4209/search-head-configured-as-a-forwarder.html) OR install a new UF ?
3. Indexer you add inputs.conf (udp input). You should already have the SAI Add-on here.
... View more
I think you already have what you need for write_splunk https://docs.splunk.com/Documentation/InfraApp/1.3.0/Admin/ManageAgents .
It is not Open Source yet.
This document might help you: https://docs.splunk.com/Documentation/Splunk/7.2.6/Data/Configureindex-timefieldextraction .
... View more
You can try something like this to extract dimensions:
props.conf add:
[em_metrics]
TRANSFORMS-mname=mname
Transforms.conf add:
[mname]
SOURCE_KEY = field:metric_name
REGEX = apache_hadoop\.\[id:([^,]+),user:([^,]+),queue:([^,]+),state:([^\]]+)\]\.\S+
FORMAT = id::$1 user::$2 queue::$3 state::$4
WRITE_META = true
Make adjustments as you need..
... View more
You can try "Processes" plugin in collectd and see if you can get what you need. You can look into collectd documentation to learn how to configure it. you will have to add it to your collectd.conf and restart. This is for Linux host.
For Windows host, you should already have perfmon "Process" data coming in. In the "Analysis" UI page, you should be able to split by "instance" (option on the right). This will provide you per process metrics.
... View more
Ubuntu bionic has collectd package. For some reason yours don't have that:
https://packages.ubuntu.com/bionic/collectd
Do apt-get update and retry?
... View more
I have seen the same issue before. The issue was with the hec_token not being set properly with correct sourcetype OR Add on for Infra not installed. Are you sending collectd data directly to SAI or using any forwarder in between?
For write_http to work for you, it needs collectd_http as the sourcetype. Did you change that after switching to write_http?
... View more
Could you please check the hec token that you created?
Make sure sourcetype and index is "em_metrics" for the token.
https://docs.splunk.com/Documentation/InfraApp/1.2.3/Install/Install
... View more
Can you check splunk log files here for errors:
$SPLUNK_HOME/var/log/splunk/em_entity_manager.log (check other log files as well if you see any errors)
ALso try to see if the missing host is present in the kv store:
| inputlookup em_entities
To run this search, go to splunk_web:8000/app/splunk_app_infrastructure/search
{i.e run search in context of SAI}
... View more
First try this search:
| mcatalog values("entity_type") as "entity_type" values("os") as "os" WHERE metric_name=processor.* AND index=em_metrics BY "host"
Do you see your missing server/entity ? If no, try this:
| mstats avg(_value) WHERE index=em_metrics AND metric_name=* AND host="missing_server_name" by metric_name
Replace missing_server_name in this search.
... View more
So, the script didn't install the forwarder before it complained about the path?
Check if "C:\Program Files\SplunkUniversalForwarder" exists. If it does, create the local directory it complained about and try to rerun the script.
You can also setup data collection manually using this doc:
https://docs.splunk.com/Documentation/InfraApp/1.2.3/Admin/ManualInstallWindowsUF
... View more
Could you check if you have this directory on your Windows system?
"C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\"
... View more
You have to check inputs.conf in UF's "\etc\apps\SplunkUniversalForwarder\local\inputs.conf". This file will have perfmon stanzas.
I think you should file "Splunk Support ticket" for quicker resolution.
Or try the troubleshooting doc mentioned above.
... View more
Did you try this troubleshooting doc?
https://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Cantfinddata#Are_you_using_forwarders.3F
... View more
Can you try some commands on your SII instance using CLI?
${SPLUNK_HOME}/bin/splunk search '| mstats avg(_value) WHERE index=em_metrics AND metric_name=* by host, metric_name'
${SPLUNK_HOME}/bin/splunk search '| mstats avg(_value) WHERE index=em_metrics AND metric_name=* AND entity_type="Windows_Host" by host, metric_name'
... View more