The message you are seeing below is extracted from log, i did this by using
regular expression extractor and store as “Input"
[{"path": “/test/test3/midm_new/20160912", "tag": "MidmRaw", "stats": {"size":
"2.27TB"}}, {"path": "/proce/test2/parse//cil/latest", "tag": "cil", "stats":
{"size": "645.83MB"}}]
>From this result, want to apply one more extractor to get below values, at the
>end can have search and identify how much size consumed for each tag
i) TAG : MidRaw and Size 2.27 TB
ii) TAG: cil and Size 645.83MB
This is Json list and it may more more than two, i tried to apply Json
extractor on this, but not working is it because these are Json Array list ???
how about using Grok pattern extractor ?
Regards,
Rayees
> On Feb 16, 2017, at 12:57 AM, Jochen Schalanda <[email protected]> wrote:
>
> Hi Rayees,
>
> What are you trying to accomplish?
> What did you try so far?
> What did you expect and what was the actual result?
>
> Cheers,
> Jochen
>
> On Wednesday, 15 February 2017 23:24:35 UTC+1, Rayees Namathponnan wrote:
> Hi All,
>
> Is there any details doc for Json extractor ? i looked
> “http://docs.graylog.org/en/2.1/pages/extractors.html#using-the-json-extractor
>
> <http://docs.graylog.org/en/2.1/pages/extractors.html#using-the-json-extractor>”
> but not helping
>
>
> I want to extract from data like below, not sure how to do this,
>
>
> [{"path": “/test/test3/midm_new/20160912", "tag": "MidmRaw", "stats":
> {"size": "2.27TB"}}, {"path": "/proce/test2/parse//cil/latest", "tag": "cil",
> "stats": {"size": "645.83MB"}}]
>
>
>
>
> Regards,
> Rayees
>
> --
> You received this message because you are subscribed to the Google Groups
> "Graylog Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/graylog2/7cb5e8df-9717-48ca-85a4-b0d9262ac2aa%40googlegroups.com
>
> <https://groups.google.com/d/msgid/graylog2/7cb5e8df-9717-48ca-85a4-b0d9262ac2aa%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/B33D8FF9-0FAD-45D6-A3F0-A31A94B66DF4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.