DocumentationDiscussions
DocumentationDiscussions

Discussions

Ask a Question
Back to All

Error caused by trying to deserialize a double as a decimal

From the seq log: 2016-09-29 16:30:35.412 +03:00 [Error] Error serving "http://localhost:5341/api/events/raw" (token: "72f948f32ac7444ea33d97448b5f33b7") Newtonsoft.Json.JsonReaderException: Input string '1.7976931348623157E+308' is not a valid decimal. Path 'Properties.OpenOrderEvent.Order.PercentOffset', line 1, position 1070. at Newtonsoft.Json.JsonTextReader.ParseNumber() at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.Read() at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.MemoryEncoding.Serializer.ReadValue(JsonTextReader json, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadProperty(JsonTextReader json, List`1 properties, List`1 values, SharedAssets sharedAssets) at Seq.MemoryEncoding.Serializer.ReadObject(JsonTextReader json, SharedAssets shared) at Seq.Server.Features.Filtering.FilterEntry.Includes(StorageEventCreationData evt) at Seq.Server.Web.Api.Events.RawEventsModule.Ingest() at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context) The class trying to be serialized: public class Order { public double PercentOffset { get; set; } ... }

Retention not deleting data in the Extents folder

I have the following set: After Delete 60 days All events Storage The event store is arranged in segments from 2015-10-18 to 2016-10-04. Out of 352.75 recorded days, 43.375 days totalling 481367 events are cached in RAM. The fast user will see that 352 is way more than 60 ... so why are all these events still on the disk ... I can see they are not in the memory ... but still ... overtime I will run out of space. Nothing to see in the Logs folder ... This is what I have in the "Extents" folder. C:\ProgramData\Seq\Extents -- 0,00 MB C:\ProgramData\Seq\Extents\2015-10-14_2015-10-21 -- 38,02 MB C:\ProgramData\Seq\Extents\2015-10-21_2015-10-28 -- 52,02 MB C:\ProgramData\Seq\Extents\2015-10-28_2015-11-04 -- 96,02 MB C:\ProgramData\Seq\Extents\2015-11-04_2015-11-11 -- 91,02 MB C:\ProgramData\Seq\Extents\2015-11-11_2015-11-18 -- 90,02 MB C:\ProgramData\Seq\Extents\2015-11-18_2015-11-25 -- 90,02 MB C:\ProgramData\Seq\Extents\2015-11-25_2015-12-02 -- 111,02 MB C:\ProgramData\Seq\Extents\2015-12-02_2015-12-09 -- 134,02 MB C:\ProgramData\Seq\Extents\2015-12-09_2015-12-16 -- 128,02 MB C:\ProgramData\Seq\Extents\2015-12-16_2015-12-23 -- 83,02 MB C:\ProgramData\Seq\Extents\2015-12-23_2015-12-30 -- 64,02 MB C:\ProgramData\Seq\Extents\2015-12-30_2016-01-06 -- 97,02 MB C:\ProgramData\Seq\Extents\2016-01-06_2016-01-13 -- 105,02 MB C:\ProgramData\Seq\Extents\2016-01-13_2016-01-20 -- 98,02 MB C:\ProgramData\Seq\Extents\2016-01-20_2016-01-27 -- 116,02 MB C:\ProgramData\Seq\Extents\2016-01-27_2016-02-03 -- 117,02 MB C:\ProgramData\Seq\Extents\2016-02-03_2016-02-10 -- 116,02 MB C:\ProgramData\Seq\Extents\2016-02-10_2016-02-17 -- 100,02 MB C:\ProgramData\Seq\Extents\2016-02-17_2016-02-24 -- 111,02 MB C:\ProgramData\Seq\Extents\2016-02-24_2016-03-02 -- 111,02 MB C:\ProgramData\Seq\Extents\2016-03-02_2016-03-09 -- 110,02 MB C:\ProgramData\Seq\Extents\2016-03-09_2016-03-16 -- 113,02 MB C:\ProgramData\Seq\Extents\2016-03-16_2016-03-23 -- 90,02 MB C:\ProgramData\Seq\Extents\2016-03-23_2016-03-30 -- 85,02 MB C:\ProgramData\Seq\Extents\2016-03-30_2016-04-06 -- 91,02 MB C:\ProgramData\Seq\Extents\2016-04-06_2016-04-13 -- 89,02 MB C:\ProgramData\Seq\Extents\2016-04-13_2016-04-20 -- 92,02 MB C:\ProgramData\Seq\Extents\2016-04-20_2016-04-27 -- 112,02 MB C:\ProgramData\Seq\Extents\2016-04-27_2016-05-04 -- 100,02 MB C:\ProgramData\Seq\Extents\2016-05-04_2016-05-11 -- 92,02 MB C:\ProgramData\Seq\Extents\2016-05-11_2016-05-18 -- 89,02 MB C:\ProgramData\Seq\Extents\2016-05-18_2016-05-25 -- 106,02 MB C:\ProgramData\Seq\Extents\2016-05-25_2016-06-01 -- 62,02 MB C:\ProgramData\Seq\Extents\2016-06-01_2016-06-08 -- 97,02 MB C:\ProgramData\Seq\Extents\2016-06-08_2016-06-15 -- 138,02 MB C:\ProgramData\Seq\Extents\2016-06-15_2016-06-22 -- 107,02 MB C:\ProgramData\Seq\Extents\2016-06-22_2016-06-29 -- 105,02 MB C:\ProgramData\Seq\Extents\2016-06-29_2016-07-06 -- 341,09 MB C:\ProgramData\Seq\Extents\2016-07-06_2016-07-13 -- 193,02 MB C:\ProgramData\Seq\Extents\2016-07-13_2016-07-20 -- 843,09 MB C:\ProgramData\Seq\Extents\2016-07-20_2016-07-27 -- 778,15 MB C:\ProgramData\Seq\Extents\2016-07-27_2016-08-03 -- 1.116,09 MB C:\ProgramData\Seq\Extents\2016-08-03_2016-08-10 -- 1.080,09 MB C:\ProgramData\Seq\Extents\2016-08-10_2016-08-17 -- 1.046,09 MB C:\ProgramData\Seq\Extents\2016-08-17_2016-08-24 -- 1.921,09 MB C:\ProgramData\Seq\Extents\2016-08-24_2016-08-31 -- 727,09 MB C:\ProgramData\Seq\Extents\2016-08-31_2016-09-07 -- 425,09 MB C:\ProgramData\Seq\Extents\2016-09-07_2016-09-14 -- 274,02 MB C:\ProgramData\Seq\Extents\2016-09-14_2016-09-21 -- 323,02 MB C:\ProgramData\Seq\Extents\2016-09-21_2016-09-28 -- 223,02 MB C:\ProgramData\Seq\Extents\2016-09-28_2016-10-05 -- 43,02 MB

Seq not logging on publish

the project is logging when i run my project on debug , but when i publish it and run it in IIS it's not working

Using Contains witha a json string

Hi, We often times use the {@..} syntax when logging to log the json structure of an object. However I don't seem to be able to run a Contains query on it. No matter what I pass to the contains search it never finds anything, is this expected? Thanks, Cathal

Seq show-key not working

We have installed to a non-default drive. When I run "seq show-key", I get: No configuration file could be found at C:\ProgramData\Seq\Seq.json If course it isn't there, it is on another drive. Is there anything I can do here?

Is there a PAAS (in Azure) offering?

I am using one application and want to track errors using SEQ can i do that

I am using one application and want to track errors using SEQ can i do that, it is a .net app

How to Add apiKey to Log4net configuration with Seq?

I have been working in an application in which the Logs are already configured and written using Log4net. I want to add Seq support to that application. Could you please let me know how to configure Log4net with Seq including all the featrures which Serilog gives, such as adding apikey in configuration etc..

Re-order dashboard signals

feature request: Provide the ability to re-order dashboard signals.

Integrated Windows Authentication Error

I'm working with Seq 3.3.21 on Windows Server 2012 R2 and I'm having some problems with Integrated Windows Authentication. The server is my parent domain and all the my users are in my child domain. I can log in using the child domain user details but integrated authentication fails with: [Error] The identity "System.Security.Principal.WindowsIdentity" is not from "<fqdn of child domain>" Can you please advise what may be causing this error?

Backup of seq loses dash graphs

We had an infra failure, backed up seq, installed on a new host, everything ran smoothly (which was really pleasant BTW!) except the graphs on the dashboard didn't seem to pick up data anymore. If I click on the title and get the query, the messages popped up, but not in the graph. Making a new graph with exactly the same query did work.

seq auth not working

when i run this command it doesn't reset the password and doesn't report an error: seq auth -u=foo -p=bar -n=instance1

Storage on SMB Network File Share

I'm attempting to store log data to a mounted SMB 3 fileshare. However on install SEQ notifies me that "Could not install the service: Seq requires a local (or SAN) storage location; network shares are not supported" What is the reason for not supporting network shares?

Can access be granted via AD Groups?

Our team is currently evaluating Seq for use in a few of our environments. So far the product has worked really well, but one potential pain point would be user management. Is it possible to grant access to the dashboard based on AD group membership? We already have a group that matches up nicely with the users we'd want to have access to the dashboard, so it would be much more convenient to manage mostly on the AD side.

Ping, ensure server is running

Hello How can I ensure that a Seq-instance is running and ready for incoming log entries? Something like Log.Logger = new LoggerConfiguration().SeqNotRunning(x => x.WriteToEmail()) .MinimumLevel.Verbose().CreateLogger();

Assigning a specific API Key?

Is it possible to assign a specific API key in Seq? The use case is several developers on the team, each with their own local instance of Seq. We'd like to be able to set a single "Development" environment API key in configuration so that each dev doesn't have to override with the API key generated by their instance of Seq.

Serilog Has Issues If Seq Server is Unavailable

Trying to evaluate Seq for use with SeriLog. I find that if the Seq server becomes unavailable, there are dozens of exceptions thrown related to Serilog trying to connect to the server. I further find that Serilog never reconnects after re-starting the Seq server. Clearly this won't work in a production environment where any number of issues could cause a temporary interruption of connectivity between the application and Seq. Any suggestions at to what's going on and whether it can be remedied?

Wildcard any (?) operator doesn't match collection with single element

I have several log events with collection properties holding a single element. The exact JSON for that property is: { "Name": "DisposedObjectTypeNames", "Value": [ "LcmpContext" ] } I thought the following filter would create a match, since one item in the collection meets the criteria: DisposedObjectTypeNames[?] == "LcmpContext" This did not return any results, but the all (*) wildcard produced the results I was looking for: DisposedObjectTypeNames[*] == "LcmpContext" I would expect the "all" wildcard to find these events, but I'm confused why the "any" version didn't pick up the results. I'm new to Seq/Serilog, so I hope I'm not missing something obvious.

Regarding Seq free single user license

Please let us know Is this Seq free single user license is a freeware? If yes from where will get this installer file? Is it free for commercial purpose also?

Bug: Issue with multiline editing of filters

3.3.10pre My original filter was: Environment = "ProdTest" && (@Level = "Error" || @Level = "Fatal") and I wanted to change to: Environment = "ProdTest" and (@Level = "Error" or @Level = "Fatal") changing the && -> and then the ||->or and either clicking the Ok button or hitting enter returned the text back to the original text Delete most of the line and only have: Environment = "ProdTest" [enter] works and changes the filter Now add in ... and (@Level = "Error" or @Level = "Fatal") [enter] Now this works and changes the filter