Comments (5)
There is no file output currently, you can view output/stdout
and implement the file output base on it.
from gogstash.
thanks, I'll give it a try.
I'm having trouble getting a clean checkout to build. Is there any particular commit I should be using?
If I checkout master, do a dep ensure and try go build main.go I get the following errors:
gogstash/vendor/github.com/tsaikd/gogstash/config/goglog
vendor/github.com/tsaikd/gogstash/config/goglog/goglog.go:20:2: unknown field 'RuntimeCallerFilters' in struct literal of type logrusutil.ConsoleLogFormatter
gogstash/vendor/github.com/docker/docker/opts
vendor/github.com/docker/docker/opts/address_pools.go:15:12: undefined: ipamutils.NetworkToSplit
If try to build the 0.1.16 source using godep restore I get the following error instead:
go/src/github.com/go-fsnotify/fsnotify; git checkout 629574ca2a5df945712d3079857300b5e4da0236
fatal: reference is not a tree: 629574ca2a5df945712d3079857300b5e4da0236
godep: error downloading dep (github.com/go-fsnotify/fsnotify): exit status 128
godep: Error downloading some deps. Aborting restore and check.
any suggestions?
from gogstash.
from gogstash.
I tried to use file module:
output:
- type: stdout
- type: file
path: /logging/ip_test.log
but for me it just printed:
tail -f /logging/ip_test.log
%{log}
%{log}
%{log}
%{log}
looks like file output module doesn't work
from gogstash.
Have a look at the documentation for the output module. You need to specify the output format to tell what fields you want written to a file and the format for it.
from gogstash.
Related Issues (20)
- Elastic output document type as deprecated HOT 1
- Splitting one input into multiple outputs HOT 3
- Can I use dynamic index with elasticsearch output? HOT 2
- Back pressure handling document HOT 3
- useragent filter should use uap-go regexes by default HOT 1
- Fields with dots in the name cannot be referenced HOT 3
- Filter for key-value and unix nano timestamps HOT 2
- How to log in to elasticsearch HOT 2
- Input - UDP packet mode HOT 3
- Issues with file output HOT 1
- How does output to loki work? HOT 9
- Improve error message for geoip filter HOT 1
- output module "http" failed HOT 4
- Do you have any plan to add plain codec? HOT 5
- Cannot stop program HOT 3
- Supporting Logstash config syntax HOT 3
- Ctrl+C does not kill worker processes HOT 1
- Using GOMAXPROC instead of Forking HOT 12
- testing with zinc HOT 1
- Loki and org_id HOT 1
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 gogstash.