Questions tagged [sumologic]

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

116 questions
2
votes
4 answers

Regex for partial path

I have paths like these (single lines): / /abc /def/ /ghi/jkl /mno/pqr/ /stu/vwx/yz /abc/def/ghi/jkl I just need patterns that match up to the third "/". In other words, paths containing just "/" and up to the first 2 directories. However, some…
Peter
  • 378
  • 2
  • 7
  • 20
2
votes
1 answer

Using SumoLogic for angular2+ Logs

Is there a way for me to use : Use sumologic (https://www.sumologic.com/) in my angular2+ application ? Have googled but have not found anything that suggests I can use it?
Curious Explorer
  • 357
  • 2
  • 14
2
votes
1 answer

Log message to sumo logic from Android client

I've got a requirement to log message from the Android client. Is there any sumo logic API to log message from the Android application?
user9187
  • 223
  • 4
  • 10
2
votes
0 answers

In regex parse of sumo logic, how can I allow for and throw away wildcards?

Consider an access log of a REST API, you will see lines (simplified) that looks like this: 2017-01-01T12:12:41Z "GET /api/posts" HTTP/1.1 200 "-" 2017-01-01T12:12:42Z "GET /api/posts/56/comments" HTTP/1.1 200 "-" 2017-01-01T12:12:42Z "GET…
Alexander Morland
  • 6,356
  • 7
  • 32
  • 51
2
votes
2 answers

How to restrict Sumo Logic alerts to business hours on work days?

I have a Sumo Logic alert that works well during business hours on work days. It is checking on the number of successful calls during the last hour. If the number is below a threshold an alert is generated. The checks are run on an hourly base. My…
Mjheitland
  • 21
  • 1
2
votes
1 answer

Can't divide field by number in Sumo Logic

I have a sumo logic query where i'm taking a numeric field and summing it, but that fields value is milliseconds so I want to divide the field by 1000 to get the number as seconds. parse "DownloadDuration=*," as DownloadTime | sum(downloadtime /…
Jared
  • 8,390
  • 5
  • 38
  • 43
2
votes
1 answer

SumoLogic: Search for string at beginning of log message

In SumoLogic, is it possible to search on only text at the beginning of the log line? For example, I'd like to match: error : omg, something is on fire! but not: warning : smoke detected! probably just bob burning the popcorn-- no error :) I've…
Scott Wegner
  • 7,263
  • 2
  • 39
  • 55
1
vote
1 answer

Configure Sumo Logic RUM Tracing on the frontend in my React Application

As described in the title, I am looking to configure sumo logic to get RUM tracing from my react application (IE user clicks, errors, etc). How can I do this. Few things that I have looked into open telemetry - this seemed to make the most sense…
sagar
  • 45
  • 6
1
vote
0 answers

Sumo logic: Override dahsboard time inside query

In sumo logic usually we select the time suing datepicker on top of query. Is there any way I can update these from and to messagetimes inside query. Use case: I have a dashboard and when I open linked target dashboard from the parent dashboard, the…
CodeNinja
  • 75
  • 2
  • 11
1
vote
1 answer

How to create a chart in sumo logic which shows on what days has throttling occurred in the account?

Our account is throttled occasionally. We do not want to set up alerts due to budget constraints. However, we want to create a chart which can tell if throttling has occurred on a given day. How to do that?
Rama Rahul
  • 93
  • 7
1
vote
1 answer

How do I perform aggregate queries using SumoLogic APIs

I am trying to perform aggregate queries using SumoLogic APIs as mentioned here. Something like: _view = | where sourceCategory matches \"something\" | sum(field) by sourceCategory This works just fine in the Sumo GUI. I get a field in…
Sam M.
  • 25
  • 6
1
vote
1 answer

Sumologic sending alerts to SLACK

I tried to send alerts from Sumologic to Slack. But when I test the connection, it always failed and return 400 http code. I used the connection type as Webhook When test the connection, it should pass
Mark P
  • 199
  • 1
  • 5
1
vote
0 answers

How to prepare sumologic for nodes

I am trying to implement sumologic for my node js application by using this NPM Package. Here is what I am trying by example but I am not getting any error and my log is also not getting placed in sumologic. npm i winston-sumologic-transport In my…
UDID
  • 2,350
  • 3
  • 16
  • 31
1
vote
1 answer

Is there a way in SumoLogic to store some data and use it in queries?

I have a list of IPs that I want to filter out of many queries that I have in sumo logic. Is there a way to store that list of IPs somewhere so it can be referenced, instead of copy pasting it in every query? For example, in a perfect world it would…
1
vote
1 answer

SumoLogic query: Search pattern is not in log

I've been trying to search logs in Sumo that do not contain a pattern like this one: "id=a*". This looks pretty simple but I have several attempts and nothing yet. Tried doing ... and not "id=a": This doesn't work because this never is the case,…