Questions tagged [sumologic]

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

116 questions
1
vote
2 answers

SumoLogic dashboards - how do I automate?

I am getting some experience with SumoLogic dashboards and alerting. I would like to have all possible configuration in code. Does anyone have experience with automation of SumoLogic configuration? At the moment I am using Ansible for general server…
Rafał Radecki
  • 151
  • 1
  • 1
  • 7
1
vote
2 answers

Is it possible to use literal data as stream source in Sumologic?

Is it possible for a Sumologic user to define data source values inside a Query and use it in subquery condition? For example in SQL, one can use literal data as source table. -- example in MySQL SELECT * FROM ( SELECT 1 as `id`, 'Alice' as…
Yuki Inoue
  • 3,569
  • 5
  • 34
  • 53
1
vote
1 answer

Aggregating Wildcards in Sumologic

I'm trying to aggregate the API logs based on the different endpoints I have. There are a total of 4 endpoints: 1: /v1/vehicle_locations 2: /v1/vehicle_locations/id 3: /v1/driver_locations 4: /v1/driver_locations/id The way I'm currently doing this…
stardamore
  • 150
  • 1
  • 14
1
vote
1 answer

How do you perform the equivalent of a SQL UNION in Sumo Logic?

With SQL it is possible to combine two or more queries together into one result set using UNION. How can you do the same in Sumo Logic?
John Mills
  • 10,020
  • 12
  • 74
  • 121
1
vote
2 answers

How to use sumologic custom cron searches for scheduling a search for every 10 minutes

I have a search query, which is written using a subquery in sumologic and I want to schedule this search for sending an alert to slack. I want to schedule this search for every 10 minutes. But from sumo, we can run this search once in every 15…
user9920500
  • 606
  • 7
  • 21
1
vote
1 answer

Docker volume sporadically mounted too late for file sharing with other containers

I have two containers I run on ECS. One container is an app which shares a config file via a docker volume to a second container which is a Sumologic file collector which is a generic logging container. The issue I have is every once in a while the…
wonton
  • 7,568
  • 9
  • 56
  • 93
1
vote
1 answer

How to find out the response time in sumo logic for a http request

I have an application which contains akka http endpoints integrated with sumo logic. Each request has a trace ID. and Now I want to see write query on sumo logic to retrieve the trace ID for a request which has response time > 5 seconds. How to find…
user9920500
  • 606
  • 7
  • 21
1
vote
2 answers

How to write PM2 logs to sumologic?

I'm developing a small NodeJS server that will run under PM2 management. We use Sumologic as a centralized log solution in our production environment. How do I send PM2 logs to Sumologic, preferably keeping "console.log" statements in my NodeJS code…
ptkvsk
  • 2,096
  • 1
  • 25
  • 47
1
vote
0 answers

Sumologic dashboard configuration as code

I have a set of Sumologic searches, alerts, and dashboards set up, all done manually in the Sumologic web UI. In line with the observability as code pattern, would it be possible to achieve the same using API calls, rather than clicking in the GUI?…
sferencik
  • 3,144
  • 1
  • 24
  • 36
1
vote
0 answers

Find high-volume log messages in sumologic

I am trying to reduce logging costs using sumologic for a microservice I run. My specific goal is to determine which log statements are costing the most money (or to put it in more easily query-able terms, which log statements are being called the…
StormeHawke
  • 5,987
  • 5
  • 45
  • 73
1
vote
1 answer

curl failed when downloading data from sumo logic

I am trying to use api to download data. My code is: curl -u "accessID***:accessKey***" -X GET https://api.au.sumologic.com/api/v1/collectors?limit=2 (just follow the example from…
Feng Chen
  • 2,139
  • 4
  • 33
  • 62
1
vote
1 answer

How to populate a search template parameter from a query string parameters in the SumoLogic user interface

Using the SumoLogic Search Templates with the tourl operator combined with the ability to Use_a_URL_to_Run_a_Search I would like to launch a search that sets the search parameters via query string arguments. I've been unable to find documentation…
eztinkerdreams
  • 381
  • 2
  • 3
  • 17
1
vote
1 answer

Exclude a value inside a string in Sumo Logic

Is there a way that allows to exclude a value inside a string? For example, if I want to get api/12345/authorise and I want to get all the results that have api/....../authorise. I do not mean to exclude a string, but search for a substring by using…
Amir
  • 11
  • 2
1
vote
1 answer

How should I json encode an exception in clojure?

I would like to be able to json encode an exception object. I am pushing my logs to sumologic and would like to be able to push json encoded exception's so that I can parse and filter these logs in sumo too. However, I can't json encode the…
Freid001
  • 2,580
  • 3
  • 29
  • 60
1
vote
3 answers

Sumo Logic Calculate time between two log events

I have a controller action method in .NET Web API where at the beginning of method there's a log statement that simply logs Started which means that the execution has started. Then, just before returning the response, there's another log statement…
Sibtain Norain
  • 679
  • 2
  • 15
  • 25