Querying sumologic logs api
I am trying to query the sumologic logs via 2 filters in the query but it gives me the same number of records. I am expecting 0 records when I specify _sourceCategory in the filter but it looks like the query considers only the first filter.
Provides zero records
Provides 15 records.
https://api.eu.sumologic.com/api/v1/logs/search?q=_sourceName=<some text>&_sourceCategory=<some text>&from=1608039321000&to=1608125721000
How do I implement an 'AND' in the query.
I would suggest you to try the search job api method mentioned in the below doc, where you have to create a search.json and then using the API.
Let me know how it goes.
Please sign in to leave a comment.