Collection the data metrics where there are unique keys



Show first post

58 replies

Userlevel 7
Badge +18

Your output must change since `:` is not allowed in the wildvalue. This is why I suggested the script updates.

If your wildvalue were “BTS_PROD_system” your output would be “BTS_PROD_system.Size: 21260” so your datapoint key for Size would be `##WILDVALUE##.Size`.

Userlevel 3
Badge +3

Just for clarification can we use ‘-’ instead of _  As i have split issues with _. 

Userlevel 7
Badge +18

https://www.logicmonitor.com/support/logicmodules/datasources/active-discovery/script-active-discovery#:~:text=Wildvalue%20cannot%20contain%20the%20following%20characters%3A%20%3D%2C%20%3A%2C%20%5C%2C%20%23%2C%20space

Userlevel 3
Badge +3

Thanks bro problem solved. I have used ‘-’ instead of :  . problem solved

 

 

Thanks

 

Bye bro 

Userlevel 3
Badge +3

i am have space in one of the output ( recv sleep). i have issue to capture that datapoint. when i give space its not pulling data



​​can you please tell me . Thanks

 

Userlevel 7
Badge +18

Yeah, you should avoid the space. You can do a .replaceAll(“ “,””) on that portion of the string to make sure it doesn’t have any spaces in it.

Userlevel 3
Badge +3

hi , i have the follwing path

 

To read log file using event source can you please tell me how to fill the logfielpath using above path

 

 

Userlevel 7
Badge +18

Please start a new thread with this question.

Reply