Comments (2)
This should work : use %{SYSLOGTIMESTAMP:timestamp} in the grok expression,
and add date_format parameter which to parse the date. Date format are
documented here : http://momentjs.com/docs/#/parsing/string-format/
Bertrand
On Mon, Jan 5, 2015 at 9:02 PM, Stefan Thies [email protected]
wrote:
my filter:
filter://grok://?grok=%{SYSLOGTIMESTAMP:sys_log_time} %{DATA:message}How can I define that sys_log_time is parsed and used in the @timestamp
https://github.com/timestamp field?—
Reply to this email directly or view it on GitHub
#83.
from node-logstash.
cool thx!
from node-logstash.
Related Issues (20)
- [ Messages not matched by a Grok pattern are not dropped ] HOT 3
- [ File output: early closing ]
- [ File input and logs rotation ] HOT 1
- [ ERROR file truncated when I use tail with file input ] HOT 7
- db_file not created HOT 4
- Scheduling indexing HOT 1
- Creating a JSON from CSV - Filter plugin HOT 1
- Exception: [TypeError: ip.indexOf is not a function] HOT 3
- [Error: EAGAIN: resource temporarily unavailable, scandir 'MyNFSMOUNTPOINT'] HOT 2
- File input plugin (without tail) seems to stop reading input files after some time HOT 3
- Timestamp not captured with regex filter (date_format) HOT 2
- [ Drop message not matched by regex ]
- input_file does not work with the files on NFS (nfsv4) HOT 1
- [TypeError: ip.indexOf is not a function] HOT 2
- sqs plugin issue HOT 1
- Custom plugins issue
- Beats Input HOT 2
- grok filter crashes process on Alpine 3.8
- if statements error HOT 1
- Unable to install, node-lumberjack-protocol appears to be removed 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 node-logstash.