Unknown .jsp file creation and deletion inside ApplicationInsights service of my .Net application

V, Sivasankari 0 Reputation points
2024-09-30T12:35:35.13+00:00

We have a very old .Net web application deployed in IIS. Its written in VB.Net and has Application Insights reference. We have notuced a strange file being created in one of the folders and the file being deleted on its own as well.

The name of the file : yjxnzgi4.jsp

and its created in the following folder

C:\PathToMyApplication\AppData\Local\Microsoft\ApplicationInsights\LongGUIDcharacters\yjxnzgi4.jsp

Can someone please help in letting me know if there is any update feature regarding the microsoft application insights that would have created some kind of temporary file and got it deleted for any upgrade or any other updates

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,337 questions
Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,520 questions
{count} votes

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,761 Reputation points Microsoft Vendor
    2024-10-01T03:27:21.3166667+00:00

    Hi @V, Sivasankari,

    The name of the file : yjxnzgi4.jsp

    As far as I know, .jsp is a file type related to Java web applications, I don't think it has anything to do with .NET.

    And based on the info you provided, it looks like you are using the Application Insights feature of the Azure Monitor service.

    We have notuced a strange file being created in one of the folders and the file being deleted on its own as well.

    I looked up some documentation about it, and found something that seems to be what you mentioned: Telemetry channels in Application Insights - Frequently asked questions.

    In Azure Web Apps on Windows, the default disk-storage location is D:\local\LocalAppData. This location isn't persisted. It's wiped out in app restarts, scale-outs, and other such operations, which leads to loss of any telemetry stored there. You can override the default and specify storage to a persisted location like D:\home. However, such persisted locations are served by remote storage and so can be slow.

    It mentioned in doc these telemetry data may be deleted due to some actions/reasons, which may be the phenomenon you mentioned. You can follow the documentation advice to override the default and specify storage to a persisted location, and check the .jsp file.

    Best Regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.