Open JeremieBethmont opened 6 years ago
@JeremieBethmont I haven't looked at this one in quite a while. An outgrowth of the function approach in this repo is here: https://github.com/microsoft/AzureFunctionForSplunkVS.
@sebastus :
https://github.com/microsoft/AzureFunctionForSplunkVS
In the line 273 of SplunkEventMessages.cs, I see the method AzMonDiagnosticLog have been used for metrics whereas it should be the method AzMonMetric(method defined in 214 of AzMonMessage.cs) . Please correct me if I'm wrong
You may be right, however that project has been superseded by this one: https://github.com/microsoft/AzureFunctionforSplunkVS.
On Wed, Mar 11, 2020 at 2:39 PM techsavy-source notifications@github.com wrote:
@sebastus https://github.com/sebastus : In the line 273 of SplunkEventMessages.cs, I see the method AzMonDiagnosticLog have been used for metrics whereas it should be the method AzMonMetric(method defined in 214 of AzMonMessage.cs) . Please correct me if I'm wrong
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sebastus/AzureFunctionForSplunkCSX/issues/2#issuecomment-597672887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ2XLEFOXZBXBCB5ADESLDRG6PDJANCNFSM4FQNREQQ .
Hi there,
Thanks for sharing these functions. I'm trying to implement the "insights-metrics-pt1m" with a Splunk "Http Event Collector" but I seem to be facing compilation errors when doing a test run. See the error message bellow:
2018-08-20T04:56:50.336 [Info] Function started (Id=1b678a4d-40aa-40dd-b7a7-bbd41e682433) 2018-08-20T04:56:50.336 [Error] Function compilation error 2018-08-20T04:56:50.336 [Warning] D:\home\site\wwwroot\shared\obRelay.csx(13,26): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. 2018-08-20T04:56:50.336 [Error] run.csx(7,5): error CS1501: No overload for method 'SendMessagesToSplunk' takes 3 arguments 2018-08-20T04:56:50.367 [Error] Exception while executing function: Functions.insights-metrics-pt1m. Microsoft.Azure.WebJobs.Script: Script compilation failed. 2018-08-20T04:56:50.398 [Error] Function completed (Failure, Id=1b678a4d-40aa-40dd-b7a7-bbd41e682433, Duration=56ms)
Have you faced this issue before ?
Thanks,
Jeremie