Windows 10 Event Log Parsing









up vote
0
down vote

favorite












Is it possible to parse exported or saved .evtx files and get relevant information (Xml details)of Windows 10 Event Logs using System.Diagnostics.EventLog class in visual studio.



I need to develop a tool which can extract forensically relevant eventlog information.
If Not, what are the alternatives?










share|improve this question









New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
    – bradbury9
    Nov 10 at 12:18










  • Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
    – Sharika R Nair
    Nov 10 at 12:26














up vote
0
down vote

favorite












Is it possible to parse exported or saved .evtx files and get relevant information (Xml details)of Windows 10 Event Logs using System.Diagnostics.EventLog class in visual studio.



I need to develop a tool which can extract forensically relevant eventlog information.
If Not, what are the alternatives?










share|improve this question









New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
    – bradbury9
    Nov 10 at 12:18










  • Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
    – Sharika R Nair
    Nov 10 at 12:26












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Is it possible to parse exported or saved .evtx files and get relevant information (Xml details)of Windows 10 Event Logs using System.Diagnostics.EventLog class in visual studio.



I need to develop a tool which can extract forensically relevant eventlog information.
If Not, what are the alternatives?










share|improve this question









New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Is it possible to parse exported or saved .evtx files and get relevant information (Xml details)of Windows 10 Event Logs using System.Diagnostics.EventLog class in visual studio.



I need to develop a tool which can extract forensically relevant eventlog information.
If Not, what are the alternatives?







c# windows-10 eventlog-source






share|improve this question









New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 10 at 15:02









Daniel A. White

146k35289370




146k35289370






New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 10 at 12:13









Sharika R Nair

11




11




New contributor




Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Sharika R Nair is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
    – bradbury9
    Nov 10 at 12:18










  • Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
    – Sharika R Nair
    Nov 10 at 12:26
















  • Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
    – bradbury9
    Nov 10 at 12:18










  • Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
    – Sharika R Nair
    Nov 10 at 12:26















Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
– bradbury9
Nov 10 at 12:18




Welcome to stack overflow. Wonder if the developing that tool is a requirement. There seems to be tools that externally can open that file format. That being said, I dont see how this is related to any specific IDE
– bradbury9
Nov 10 at 12:18












Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
– Sharika R Nair
Nov 10 at 12:26




Yes, developing that tool is a requirement.I need to extract certain relevant event id's and display on my tool. But I doubt whether is it possible to give an exported or saved event log as input file and use System.Diagnostics.EventLog class in C#. Kindly help me clear my doubt.
– Sharika R Nair
Nov 10 at 12:26












1 Answer
1






active

oldest

votes

















up vote
0
down vote













You could use the powershell cmdlet Get-WinEvent to extract information from an evtx file. This can be called also from a C# program using System.Management.Automation.






share|improve this answer




















  • is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
    – Sharika R Nair
    Nov 10 at 15:55











  • Yes. See this question stackoverflow.com/questions/41680833/…
    – Klaus Gütter
    Nov 10 at 16:08










  • one last doubt friend, is database required to store the extracted information to display it in my GUI?
    – Sharika R Nair
    Nov 10 at 16:43










  • Required? No. Why should it? Depends on your application, though.
    – Klaus Gütter
    Nov 10 at 16:56










  • @SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
    – bradbury9
    yesterday










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Sharika R Nair is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238833%2fwindows-10-event-log-parsing%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













You could use the powershell cmdlet Get-WinEvent to extract information from an evtx file. This can be called also from a C# program using System.Management.Automation.






share|improve this answer




















  • is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
    – Sharika R Nair
    Nov 10 at 15:55











  • Yes. See this question stackoverflow.com/questions/41680833/…
    – Klaus Gütter
    Nov 10 at 16:08










  • one last doubt friend, is database required to store the extracted information to display it in my GUI?
    – Sharika R Nair
    Nov 10 at 16:43










  • Required? No. Why should it? Depends on your application, though.
    – Klaus Gütter
    Nov 10 at 16:56










  • @SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
    – bradbury9
    yesterday














up vote
0
down vote













You could use the powershell cmdlet Get-WinEvent to extract information from an evtx file. This can be called also from a C# program using System.Management.Automation.






share|improve this answer




















  • is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
    – Sharika R Nair
    Nov 10 at 15:55











  • Yes. See this question stackoverflow.com/questions/41680833/…
    – Klaus Gütter
    Nov 10 at 16:08










  • one last doubt friend, is database required to store the extracted information to display it in my GUI?
    – Sharika R Nair
    Nov 10 at 16:43










  • Required? No. Why should it? Depends on your application, though.
    – Klaus Gütter
    Nov 10 at 16:56










  • @SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
    – bradbury9
    yesterday












up vote
0
down vote










up vote
0
down vote









You could use the powershell cmdlet Get-WinEvent to extract information from an evtx file. This can be called also from a C# program using System.Management.Automation.






share|improve this answer












You could use the powershell cmdlet Get-WinEvent to extract information from an evtx file. This can be called also from a C# program using System.Management.Automation.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 10 at 14:59









Klaus Gütter

25118




25118











  • is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
    – Sharika R Nair
    Nov 10 at 15:55











  • Yes. See this question stackoverflow.com/questions/41680833/…
    – Klaus Gütter
    Nov 10 at 16:08










  • one last doubt friend, is database required to store the extracted information to display it in my GUI?
    – Sharika R Nair
    Nov 10 at 16:43










  • Required? No. Why should it? Depends on your application, though.
    – Klaus Gütter
    Nov 10 at 16:56










  • @SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
    – bradbury9
    yesterday
















  • is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
    – Sharika R Nair
    Nov 10 at 15:55











  • Yes. See this question stackoverflow.com/questions/41680833/…
    – Klaus Gütter
    Nov 10 at 16:08










  • one last doubt friend, is database required to store the extracted information to display it in my GUI?
    – Sharika R Nair
    Nov 10 at 16:43










  • Required? No. Why should it? Depends on your application, though.
    – Klaus Gütter
    Nov 10 at 16:56










  • @SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
    – bradbury9
    yesterday















is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
– Sharika R Nair
Nov 10 at 15:55





is System.Management.Automation used to use cmdlet via c#??? I am a newbie so dont have much idea about programming. By using powershell cmdlet via C# we can extract info from .evtx and is it possible to display that in my GUI using C#?
– Sharika R Nair
Nov 10 at 15:55













Yes. See this question stackoverflow.com/questions/41680833/…
– Klaus Gütter
Nov 10 at 16:08




Yes. See this question stackoverflow.com/questions/41680833/…
– Klaus Gütter
Nov 10 at 16:08












one last doubt friend, is database required to store the extracted information to display it in my GUI?
– Sharika R Nair
Nov 10 at 16:43




one last doubt friend, is database required to store the extracted information to display it in my GUI?
– Sharika R Nair
Nov 10 at 16:43












Required? No. Why should it? Depends on your application, though.
– Klaus Gütter
Nov 10 at 16:56




Required? No. Why should it? Depends on your application, though.
– Klaus Gütter
Nov 10 at 16:56












@SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
– bradbury9
yesterday




@SharikaRNair If you want to store the information in a database, you would require a database. You could store the information whenever you want (text files, xml, database, a custom file format) it depends on how you design your application.
– bradbury9
yesterday










Sharika R Nair is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















Sharika R Nair is a new contributor. Be nice, and check out our Code of Conduct.












Sharika R Nair is a new contributor. Be nice, and check out our Code of Conduct.











Sharika R Nair is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238833%2fwindows-10-event-log-parsing%23new-answer', 'question_page');

);

Post as a guest














































































Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

Evgeni Malkin