First, you need to make sure that you have enable App Insights in your App Service Check the application insights log: Login to Azure, got to your App Service Click on SSH on the left, Check the application insights start up log in this folder: /var/log/applicationinsights View 2 logs file there, it will give you some hint what could be wrong. There are some common issue: Wrong instrumentation key Application has already instrumented application insights in their code, that means it will not use the App Insights agent by the server. In this case you need to have a way to make sure that yourRead More →

I just just bought a used Ronin M today, the owner said he had not used it for long time. I thought everything should be good. When i got home and tried to charge, nothing showing up on the battery. I googled and found that many people having the same issues after putting the device in storage for long time. What’s the root cause? DJI battery is smart battery , it comes with a board on it, you can turn the battery on and off from the battery it self. The battery board control how the battery charge and provide power to your device. TheRead More →

When you create a survey forms in MS Forms from a group – you realize that the option “Allow respondents to edit their response” is greyed out. If you do it from your account, you have no problem with it, it only happen when you create the survey from the group. How can you enable it?Follow these steps: uncheck “Allow receipt of responses after submission “ Click on Preview Click on Back You will see a little box: By clicking on that “Turn it On” , the option “Allow respondents to edit their responses” will be enable. How can you uncheck (disable) it? You needRead More →

We have a few addons not compatible with python3 and we need them to work with Splunk 9. Splunk 9 does not come with python2, that’s the challenge. How do we fix it? we need to do 3 things: Copy bin/python2.7 from old splunk server to new server Copy lib/python* from old server to new servers add python.version=unspecified to etc/local/server.conf in [general] section restart the server This is my script: yes | /bin/cp -r -p /Data/poc/splunk738-python2/splunk738/bin/python2 /opt/splunk/bin/ yes | /bin/cp -r -p /Data/poc/splunk738-python2/splunk738/lib/python2 /opt/splunk/lib/ sed -i ‘4ipython.version=unspecified’ /opt/splunk/etc/system/local/server.conf /opt/splunk/bin/splunk restartRead More →

I’m trying to install PagerDuty v7.6 on ServiceNow, but i got this error Cannot commit Update Set ‘pagerduty-v7.6’ because: Scope ‘x_pd_integration’ is not ‘Global’, not found in instance, but is found in app store. Install application from app store. Resolve the problem before committing. How did i fix it? I opened the pagerduty_7.6.xml file , replace all x_pd_integration with xxxx_pd_integrationRead More →

I just got a new machine, it’s time to clone my git repository to this new machine. I think it will be just very simple, just use Visual Studio Code and clone it. Unfortunately, it’s not that, i had an error “Filename too long”. I did some search and the solution that it works for me is to run:  Read More →

Another day, another thing to learn , this spices up my job. Today i built a dashboard , i want the user provide me a list of keywords from an input text, then i will search based on that. The challenge is it’s a list of keywords separated by comma. It’s easy if the user provide a string like this: hostname=”hostA” OR hostname=”hostB” OR hostname=”hostC” , instead the user will provide me this : hostA,hostB,hostC . I know that i have to split this our and turn the list keywords into a format that Splunk can understand. I know how to turn this hostA,hostB,hostC intoRead More →