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 decorations #54

Open
wants to merge 14 commits into
base: 5.0
Choose a base branch
from
14 changes: 13 additions & 1 deletion logtrail.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@
"program": "program",
"message": "syslog_message"
}
}
},
"field_decorations": [
{
"field": "hostname",
"pattern": "/(.*)/",
"replace": "<a ng-click=\"onHostSelected('$1')\">$1</a>"
},
{
"field": "program",
"pattern": "/(.*)/",
"replace": "<a ng-click=\"onProgramClick('$1')\">$1</a>:"
}
]
}
]
}
Loading