From 6291d6fe037fd875db3bdde1bce493e8deab8f2d Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Tue, 17 Sep 2019 16:14:00 +0200
Subject: [PATCH] Update documentation

---
 docs/network.rst | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/docs/network.rst b/docs/network.rst
index 9578d53..fe61749 100644
--- a/docs/network.rst
+++ b/docs/network.rst
@@ -61,7 +61,9 @@ As for the inventory :ref:`inventory-search`, Elasticsearch is used as the full-
 
 .. image:: _static/network/search_host_name_field.png
 
-- To search for a MAC address, you need to use double quotes due to the ``:`` reserved character:  ``"0a:22:b9:dd:19:1d"``.
+-  Subfields (for items and interfaces) can be accessed using dot notation: ``interfaces.cnames:artifactory``.
+
+- To search for a MAC address, you need to use double quotes due to the ``:`` reserved character: ``"0a:22:b9:dd:19:1d"``.
 
 .. image:: _static/network/search_host_mac.png
 
@@ -76,11 +78,34 @@ The complete list of fields that can be searched is the following:
   - updated_at
   - user
   - name
+  - fqdn
+  - is_ioc
   - device_type
   - model
   - description
   - items
+
+    * ics_id
+    * serial_number
+    * stack_member
+
   - interfaces
+
+    * created_at
+    * updated_at
+    * user
+    * is_main
+    * network
+    * ip
+    * netmask
+    * name
+    * mac
+    * host
+    * cnames
+    * domain
+    * device_type
+    * model
+
   - ansible_vars
   - ansible_groups
 
-- 
GitLab