Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Blake Niemyjski
@niemyjski
I'll look soon
Sander Rijken
@srijken
thanks :)
Blake Niemyjski
@niemyjski
That's it
Let me know what you think of it
Sander Rijken
@srijken
I will
Sander Rijken
@srijken
I don't think I'll be using it right now.. tight schedule, and it looks like it could be a lot of work..
Blake Niemyjski
@niemyjski
k
Kelly Elton
@kellyelton
hey, how would I filter for ID in this case
blob
blob
Blake Niemyjski
@niemyjski
you can't filter by that
Kelly Elton
@kellyelton
there's a few things in that image I think are important to note...the ID contains -'s which are supposed to escape spaces, and also it's nested, and it's not in the ExtendedData tab
oh man
Blake Niemyjski
@niemyjski
only simple properties
no complex objects
as our mapping for that would get insane and lead to issues anytime that model changed your events wouldn't be submitted
if you want to filter by just that you would need to add a extended data object just for the id
like
SetProperty("GameId", state.Id);
then it would be data.GameId:my-long-guid
@kellyelton make sense? We'd love to allow users to search by complex objects but doing so would cause in sane memory usage server side as well as issues anytime the object types changed
Kelly Elton
@kellyelton
Yeah for sure, sorry was afk
I could fork the docs right?
Blake Niemyjski
@niemyjski
you could
we are working on moving all that content to wikis right now
Simon C
@Workshop2
Hello all, I am struggling to get Nlog target working with my web app
Is there anyone here that could help me
Blake Niemyjski
@niemyjski
Hey
Sure what kind of issue are you seeing @Workshop2
Simon C
@Workshop2
As soon as I add the NLog targets, none of my logging works.
I have 2 log targets, one is to file and one is to Exceptionless (a self hosted version)

<?xml version="1.0" encoding="utf-8"?>

<configuration>

<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
</configSections>

<extensions>
<add assembly="Exceptionless.NLog"/>
</extensions>

<nlog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<!-- Daily log files, deleted after 7 days -->
<target name="Search.Web" xsi:type="File" fileName="D:\ErrorLogs\Search\errors.web.log" archiveFileName="D:\ErrorLogs\Search\errors.web.{#}.log" archiveEvery="Day" archiveNumbering="Rolling" maxArchiveFiles="7" />

<target name="exceptionless" xsi:type="Exceptionless">
<field name="host" layout="${machinename}" />
<field name="identity" layout="${identity}" />
<field name="windows-identity" layout="${windows-identity:userName=True:domain=False}" />
<field name="process" layout="${processname}" />
</target>
</targets>

<rules>
<logger name="ErrorLog" minlevel="Debug" writeTo="Search.Web" />
<logger name="*" minlevel="Info" writeTo="exceptionless" />
</rules>
</nlog>
</configuration>

In that status, if I "NLog.LogManager.GetLogger("ErrorLog")" then it says none of the logging statuses are enabled
but only when the exceptionless target is added
I haven't found much documentation around NLog for exceptionless - been trying to get it working for a while now :S
Simon C
@Workshop2
ok
sorry everyone
my fault - I put the extensions outside of the nlog section
Simon C
@Workshop2
How can I get the Exceptionless NLog plugin to use the default client (ApiKey, ServerUrl and SSL settings) & also contain MVC/Web tracking information such as URL...
Blake Niemyjski
@niemyjski
@Workshop2 It should do this by default
But for the tracking information such as request info, you'll need to set the context property with the action context / http context
.ContextProperty("HttpActionContext", ActionContext)
like that
Blake Niemyjski
@niemyjski
@Workshop2 were you not seeing the api key being picked up by the nlog target?
@hmemcpy what all packages do you have installed?
Blake Niemyjski
@niemyjski
@Workshop2 the last comment was for you. If you need any help, please let me know.. We are here to help you
rajan bhayana
@rajanbhayana
sorry. amateur question. i have setup a new VM using the code on github. API seems to come up. redis/elastic seach installed and working. how do i get to the dashboard? what is the link?
rajan bhayana
@rajanbhayana
my bad. asked too quickly. i see separate code on git.
Blake Niemyjski
@niemyjski
@rajanbhayana we will have a new release out soon that is a single zip that's all pre configured :)