Questions tagged [sumologic]

Sumo Logic is a cloud-based log management and analytics service.

116 questions
3
votes
1 answer

Sumo Logic - Replace value with regex

I'm parsing the request_uri from a log file: _sourceName="/opt/zazma/var/logs/AuditRequest.log" | parse "method=*, statusCode=*, requestURI=*," as method, status_code, request_uri | count by method, request_uri, status_code | sort by…
Gene Zeiniss
  • 137
  • 12
3
votes
4 answers

Sumologic for JavaScript application

I already have sumologic working on my EC2. I also have a customer facing React application. I want to integrate sumologic for my client side application as well. Found two npm module for…
Pradeep Jaiswar
  • 1,785
  • 7
  • 27
  • 48
3
votes
0 answers

SSL certificate error X509_load_cert_crl_file

I am getting this error, when i am running my python program. File "get_secure_log.py", line 59, in query_sumo_logic() File "get_secure_log.py", line 56, in query_sumo_logic resp = s.post(api_endpoint) File…
Hackaholic
  • 19,069
  • 5
  • 54
  • 72
2
votes
1 answer

Sumologic query to show data by date

I have created Sumologic dashboard to show some errors in the application. What I want is show the error per date. It show the error but it doesn't aggregate the same error messages as the messages have some GUID. This is the sample part of the…
Brand
  • 65
  • 4
2
votes
0 answers

Is there a Sumologic handler for monolog?

I'm looking for a Sumologic handler for monolog. I could not find one using a Google search. The monolog site does not mention such a thing. Before we write one ourselves, I wanted to check that one does not already exist.
Phillip Ngan
  • 15,482
  • 8
  • 63
  • 79
2
votes
3 answers

Regex match for first occurrence

I want start my starts with "["(square bracket). After that I need to find constant string which is "FIELDS THROWING ERROR =>"(constant string), the string will occur after some lines in string. Next, I need to take one word(the word will be…
user11469175
2
votes
1 answer

How do you match a quote in a Sumologic regex query?

I'm having trouble matching a single quote, ' , or putting it in a character group in a Sumologic query. For example, my query might look like _sourceCategory="some_category" | where url matches /^\/stuff\/[\w']+\/.*/ and…
fooiey
  • 1,040
  • 10
  • 23
2
votes
3 answers

SumoLogic — Plotting data from a "status" json message in the log

I have a service that accepts and processes tasks. A Task has a status: queued, running, failed, cancelled or finished. Once in a while the service spits out a log entry with the json, like this: 2021-09-09 00:30:46,742 [Timer-0] INFO - { "env":…
Denethor
  • 33
  • 5
2
votes
1 answer

console.log from node.js application not splitting in multiple logs in sumoLogic

I am using node.js for an internal application. docker image of this node.js application is deployed. Once deployed I see all the console.logs in SumoLogic but all the logs come as one big message. This makes it really difficult to debug in…
priyanshu sinha
  • 595
  • 6
  • 14
2
votes
1 answer

Sumologic sum two aggregates in search query

What I am trying to achieve is to display sum of two aggregated fields sum(DiscoverCountOld) as VisitsDiscoveredOld and sum(DiscoverCount) as VisitsDiscovered as a new column instead of those two fields _source="src" and _collector="collector" …
bugrasitemkar
  • 431
  • 1
  • 7
  • 26
2
votes
1 answer

How to configure AWS CDK ApplicationLoadBalancedFargateService to log parsed JSON lines with Firelens and Firebit

When I create an ApplicationLoadBalancedFargateService with a Firelens logdriver, and the application writes JSON lines as the log message, such as when using net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder with Logback, the log…
Richard Collette
  • 5,462
  • 4
  • 53
  • 79
2
votes
1 answer

Is it possible to parse nested json in sumologic?

So I have a log in this format: { "date":1598808279.785381, "log":"{\"level\":\"info\",\"ts\":15988.7852,\"caller\":\"server/middlewares.go:26\",\"msg\":\"Request…
user3162553
  • 2,699
  • 3
  • 37
  • 61
2
votes
1 answer

Sumo Logic: _sourceCategory vs cluster

With Sumo Logic, what is the difference between 'cluster' and '_sourceCategory'? I've tried looking at the documentation but am not finding anything for cluster itself. If you know, please share the knowledge.
mnickey
  • 727
  • 1
  • 6
  • 15
2
votes
1 answer

Creating SUMO logic pie chart with SUM totals

I would like to create a SUMO logic pie chart however I am having difficultu doing it with SUM totals. below you can see my query _sourceCategory=MyAppSource | parse "* [*]…
Lostaunaum
  • 697
  • 1
  • 10
  • 31
2
votes
1 answer

SumoLogic:Can I have graph of min/max difference?

I want to show a graph of minimum value, maximum value and difference between maximum and minimum for each timeslice. It works ok for min and max | parse "FromPosition *)" as FromPosition | timeslice 2h | max(FromPosition) ,min(FromPosition) …
Michael Freidgeim
  • 26,542
  • 16
  • 152
  • 170