Comments (4)
Is it possible to make a search in all logs instead of specifying a stream?
from bonfire.
The graylog API takes the stream ID as a parameter, so all searches are always in a single stream. Querying multiple streams and merging the results seems to much logic on the client side. So one solution I see is to create an 'All Messages' stream and search in there.
from bonfire.
Ok.
I was thinking about another solution specifying stream only in research field:
bonfire -h host -u user -p pass -@ "7 days ago" "streams:(stream1_ref OR stream2_ref) AND ip
==> In that case how can I bypass the stream selection field?
Regards.
from bonfire.
I think what @mahrz24 was trying to say is that bonfire, as a client, can only communicate with graylog via the API - and the API always gets a stream ID with any query request you make.
Without investigating this myself in detail, it seems like while you can run the query you describe in the graylog web ui, it is impossible to achieve the same through an API call, at least at the moment (without investing an extensive amount of work into the client to fix the logic and do several requests, which sounds at least hairy).
Closing as will-not-fix
from bonfire.
Related Issues (20)
- Release 0.0.7 / TLS / Python Package Index HOT 1
- Graylog 2.1 HOT 3
- FR: Be able to query 2+ nodes with 1 query HOT 4
- six required version == 1.9.0? HOT 2
- Use offsets to query in chunks HOT 1
- tail to file - output in one line
- known bug: timezone UTC HOT 2
- latest version in pip 0.0.7 does not include endpoint support HOT 8
- Every time I use `-f` I get the `RuntimeError: Query returns more than 10000 log entries. Use offsets to query in chunks.` HOT 2
- maintenance of the project HOT 6
- Getting 404 for my username HOT 9
- Incompatiable with new arrow HOT 2
- Error running Bonfire HOT 6
- -f, --follow mode does not show any output HOT 11
- Is there a bug with timezone? HOT 4
- Not reading all the options in config file HOT 5
- Stream filter should be optional even if the user doesnโt have full permissions HOT 1
- `-f` option together with date wrong result
- `query` should also be allowed to be passed as an option
- add a man page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonfire.