According to the document here, the asterisk wildcard is supported and hence it should work in eg.
*[EventData[Data[@Name='TargetUserName'] ='User1*']]
but I cannot get any wildcard filter to work - has anyone been able to do this?
I'm currently evaluating whether logstash and elasticsearch are useful for our use-case. What I have is a log file containing multiple entries which is of the form
<root>
<entry>
<fieldx>...</fieldx>
<fieldy>...</fieldy>
<fieldz>...</fieldz>
...
<fieldarray>
<fielda>...</fielda>
<fielda>...</fielda>
...
</fieldarray>
</entry>
<entry>
...
</entry>
...
<root>
Each entry
element would contain one log event. (If you are interested, the file is actually a Tempo Timesheets (An Atlassian JIRA Plug-in) work-log export.)
Is it possible to transform such a file into multiple log events without writing my own codec?
Right now we are attempting to build gold configurations for our environment. One piece of software that we use relies on large XML
files to contain the bulk of its configuration. We want to take our lab environment, catalog it as our "gold configuration" and then be able to audit against that configuration in the future.
Since diff is a bytewise comparison and NOT a logical comparison, we can't use it to compare files in this case (XML
is unordered, so it won't work). What I am looking for is something that can parse the two XML
files, and compare them element by element. So far we have yet to find any utilities that can do this. OS doesn't matter, I can do it on anything where it will work. The preference is something off the shelf.
Any ideas?
Edit: One issue we have run into is one vendor's config files will occasionally mention the same element several times, each time with different attributes. Whatever diff utility we use would need to be able to identify either the set of attributes or identify them all as part of one element. Tall order :)
I'm configuring a site in applicationhost.config
for IIS 7.5 Express:
<site name="default" id="1" serverAutoStart="true">
<application path="/">
<virtualDirectory path="/" physicalPath="%IIS_BIN%\..\Somewhere\Else" />
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
</application>
...
</site>
I've found that specifying relative paths as shown does not seem to work and will lead to an HTTP 500.19 Internal Server Error
. IIS further reports error code 0x8007007b
, which, after some googling, seems to indicate an invalid file path syntax.
Is there any way around this error, so that I can use relative physical path for my site's root?
For reasons unknown, a great many of the (Windows XP SP3) computers I manage have recently started creating a new pseudoprinter object, called Microsoft XPS Document Writer, seemingly out of nowhere.
This is a problem, because for some users (created through Dynamic Local User via ZENworks) the XPS document writer is being set as the default printer!
When I made the image for these machines, I made sure to delete this pseudoprinter object from the Printers and Faxes area. I would first like to know what is causing it to be recreated recently, over a year later.
I found a tool for removing the pseudoprinter object, its driver, and some other associated things. The trouble is, it's a GUI-only application, and requires user interaction.
I would love a utility like this that just deletes the pseudoprinter object, driver, etc., without user interaction, so it can be run from the login script.
Failing that, I need to know exactly how to manually perform each of the steps that the XPS Removal Tool performs, and then script them. Ugh!
Any help would be greatly appreciated!