Archives for General - Page 5
Azure App Service: Application Error
If you receive this Application Error , you can’t even use Console – Diagnostics Tools. This is mostly because your application is crashed during the start and the docker...
Pulling PowerBI Gateway Status in to Splunk
Have you ever been asked to monitor PowerBI gateway status? They need to receive alert when the gateway is offline. Or it’s just simply a dashboard to show the...
Adding PHP-GD library to docker
First, we need to update our apt /etc/ deb stretch/updates main contrib non-free Then run this command apt-get install -y libpng-dev libjpeg-dev libfreetype6-dev && docker-php-ext-configure gd ...
Azure Application Insights: a good documentation site
It’s old, but it’s still helpful. This is from Microsoft –
PHP script to get start and end date of last quarter
This is the script you will need to get the start and end date of last quarter $start_date = (new DateTime(‘first day of -‘ . (((date(‘n’) – 1)...
Upgrading PHP7 to PHP8 issues:
$money=”100 dollars”; $money=(int)$money; In PHP7: $money=100 In PHP8: $money=0;In PHP8 we should use $money=intval($money)
Application Insights: Java Agent 3.5.
Sample data: 2024-06-04 12:22:00 DEBUG - exporting span: SpanData{spanContext=ImmutableSpanContext{traceId=7315e28acf0b7ac821a6c135368c48ac, spanId=341e43ed1acc9776, traceFlags=01, traceState=ArrayBasedTraceState{entries=}, remote=false, valid=true}, parentSpanContext=ImmutableSpanContext{traceId=00000000000000000000000000000000, spanId=0000000000000000, traceFlags=00, traceState=ArrayBasedTraceState{entries=}, remote=false, valid=false}, resource=Resource{schemaUrl=null, attributes={"unknown_service:java", "java", "opentelemetry", ""}}, instrumentationScopeInfo=InstrumentationScopeInfo{name=, version=, schemaUrl=null,...
Azure Monitor: List all resource groups with their subscription
Login , click on Resources Graph and run this query: resourcecontainers | where type == '' | project name, id,subscriptionId,tags |project-rename rg_name=name,rg_id=id,rg_tags=tags | join kind=inner ( resourcecontainers |...
Splunk: List all saved search
| rest /servicesNS/-/-/saved/searches splunk_server=local
