Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field generator - add support for IP grok pattern #17998

Closed
jasonslater2000 opened this issue Apr 26, 2020 · 1 comment · Fixed by #18256
Closed

Field generator - add support for IP grok pattern #17998

jasonslater2000 opened this issue Apr 26, 2020 · 1 comment · Fixed by #18256
Assignees
Labels
enhancement Team:Services (Deprecated) Label for the former Integrations-Services team

Comments

@jasonslater2000
Copy link

https://github.com/elastic/beats/blob/master/filebeat/generator/fields/fields.go#L41

the grok pattern "IP" is not included in the map - can we add it so that it maps to ES "ip" type?

var (
types = map[string]string{
"group": "group",
"DATA": "text",
"GREEDYDATA": "text",
"GREEDYMULTILINE": "text",
"HOSTNAME": "keyword",
"IPHOST": "keyword",
"IPORHOST": "keyword",
"LOGLEVEL": "keyword",
"MULTILINEQUERY": "text",
"NUMBER": "long",
"POSINT": "long",
"SYSLOGHOST": "keyword",
"SYSLOGTIMESTAMP": "text",
"LOCALDATETIME": "text",
"TIMESTAMP": "text",
"USERNAME": "keyword",
"WORD": "keyword",
}
)

@andresrc andresrc added [zube]: Inbox enhancement Team:Services (Deprecated) Label for the former Integrations-Services team labels Apr 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants