Metricbeats v6 beta - Perfmon Metricset not reading query value if labels match

Have been playing around with the new perfmon metricset for Metricbeat v6 beta

Attempting to Pick up values from the set below, note no instance name so have to add one:
image

Noticed if you have the instance label end field repeated in the measurement label (case-sensitive) you get either no record at all or no query value recorded depending on the case of the characters. For ease of reading I`ll use "a" or "A" in the examples:

Records displayed in Kibana but No query result:

  instance_label: "Fotoware.IndexManager.aaaa"
  instance_name: "Search"
  measurement_label: "Fotoware.IndexManager.aaaa.frequency"
  query: '\Fotoware Index Manager Search\Searches per second'

{
"_index": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"_type": "metricbeats",
"_id": "AV3r1VF4He6B_hVObwx5",
"_score": null,
"_source": {
"cluster": "app",
"windows": {
"perfmon": {
"Fotoware": {
"IndexManager": {
"aaaa": "Search"
}
}
}
},

Changing case in just the instance_name brings back valid results:

  instance_label: "Fotoware.IndexManager.aaaa"
  instance_name: "Search"
  measurement_label: "Fotoware.IndexManager.AAAA.frequency"
  query: '\Fotoware Index Manager Search\Searches per second'

{
"_index": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"_type": "metricbeats",
"_id": "AV3r3hn9He6B_hVObz_v",
"_score": null,
"_source": {
"cluster": "app",
"windows": {
"perfmon": {
"Fotoware": {
"IndexManager": {
"aaaa": "Search",
"AAAA": {
"frequency": 0
}
}
}

Bizarrely if I change AAAA in both labels to uppercase then I do not get any results back:

  instance_label: "Fotoware.IndexManager.AAAA"
  instance_name: "Search"
  measurement_label: "Fotoware.IndexManager.AAAA.frequency"
  query: '\Fotoware Index Manager Search\Searches per second'

If case is mixed but repeated in both labels then get a record back but again no value:

  instance_label: "Fotoware.IndexManager.Aaaa"
  instance_name: "Search"
  measurement_label: "Fotoware.IndexManager.Aaaa.frequency"
  query: '\Fotoware Index Manager Search\Searches per second'

{
"_index": "xxxxxxxxxxxxxxx",
"_type": "metricbeats",
"_id": "AV3r_Gux_NBBsEBtAQGP",
"_score": null,
"_source": {
"cluster": "app",
"windows": {
"perfmon": {
"Fotoware": {
"IndexManager": {
"Aaaa": "Search"
}
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.